I am writing an application that uses bitcoin wallet accounts to specify what addresses belong to what user. I have been reading the documentation trying to find a way to spend Bitcoins specifying the account from, address to, and miners fee.
After reading the documentation, I think that is impossible, because there are only two ways:
The first one is using
sendFrom, but you can't set the fee with this command. You could use
settxfeebut that is a changing number depending on the Kb's of the tx.
The second one is using
SendRawTransaction, but in order to specify the inputs, there is no way to get the inputs, other than calling
listunspent, but that returns the inputs for all wallets, and there is no way to tell that command to only return the unspent inputs for a specific account.
Is there really no way to send bitcoins from account specifying the fee?