Bitcoin Forum

Other => Beginners & Help => Topic started by: TT on July 25, 2011, 07:23:49 AM



Title: Setting/confirming transaction fee from JSON-RPC API
Post by: TT on July 25, 2011, 07:23:49 AM
Hi,

Is there a way to specify a transaction fee from the JSON-RPC API? Right now, in the GUI,
if the transaction fee is too low, it prompts me if I want to pay a certain transaction fee
(usually .0005 or .001) before sending. From the API, though, it just automatically charges
the transaction fee without confirming. So I want to be able to do two things:

1) Specify from the API a transaction fee I am willing to pay.

and

2) If the transaction fee is too low, to have the API suggest a transaction fee
to me which I can then approve.

Thanks for the help.


Title: Re: Setting/confirming transaction fee from JSON-RPC API
Post by: Maged on July 27, 2011, 03:46:55 AM
Not at the moment. The closest thing out there is the estimate TX fee patch (try searching for it), but it's not completely accurate since it doesn't lock the coins that were used to calculate the fee.