Dev Docs: RPCs: edits for Subtract Fee From Amount params

This commit is contained in:
David A. Harding 2017-06-13 12:36:08 -04:00
parent 886f847018
commit 532fd7af9f
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
3 changed files with 14 additions and 2 deletions

View file

@ -70,6 +70,14 @@ All existing inputs must have their previous output transaction be in the wallet
p: "Optional<br>(0 or 1)" p: "Optional<br>(0 or 1)"
d: "A json array of integers. The fee will be equally deducted from the amount of each specified output. The outputs are specified by their zero-based index, before any change output is added." d: "A json array of integers. The fee will be equally deducted from the amount of each specified output. The outputs are specified by their zero-based index, before any change output is added."
- n: "→ →<br>Output index"
t: numeric (int)
p: Optional<br>(0 or more)
d: "A output index number (vout) from which the fee should be subtracted.
If multiple vouts are provided, the total fee will be divided by the
numer of vouts listed and each vout will have that amount subtracted
from it"
{% enditemplate %} {% enditemplate %}
*Result---information about the created transaction* *Result---information about the created transaction*

View file

@ -61,8 +61,12 @@ The `sendmany` RPC {{summary_sendMany}}
- n: "Subtract Fee From Amount" - n: "Subtract Fee From Amount"
t: "array" t: "array"
p: "Optional<br>(0 or 1)" p: "Optional<br>(0 or 1)"
d: "The fee will be equally deducted from the amount of each selected address. Those recipients will receive less bitcoins than you enter in their corresponding amount field. If no addresses are specified here, the sender pays the fee." d: "An array of addresses. The fee will be equally divided by as many addresses as are entries in this array and subtracted from each address. If this array is empty or not provided, the fee will be paid by the sender"
- n: "→<br>Address"
t: "string (base58)"
p: "Optional (0 or more)"
d: "An address previously listed as one of the recipients."
{% enditemplate %} {% enditemplate %}
*Result---a TXID of the sent transaction* *Result---a TXID of the sent transaction*

View file

@ -62,7 +62,7 @@ The `sendtoaddress` RPC {{summary_sendToAddress}}
- n: "Subtract Fee From Amount" - n: "Subtract Fee From Amount"
t: "boolean" t: "boolean"
p: "Optional<br>(0 or 1)" p: "Optional<br>(0 or 1)"
d: "The fee will be deducted from the amount being sent. The recipient will receive less bitcoins than you enter in the amount field. Default is false" d: "The fee will be deducted from the amount being sent. The recipient will receive less bitcoins than you enter in the amount field. Default is `false`"
{% enditemplate %} {% enditemplate %}