Merge pull request #1 from harding/edit-1626

Dev Docs: RPCs: edits for Subtract Fee From Amount params
This commit is contained in:
Matthew Smith 2017-06-13 20:28:00 +01:00 committed by GitHub
commit ab16005e42
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)"
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 %}
*Result---information about the created transaction*

View file

@ -61,8 +61,12 @@ The `sendmany` RPC {{summary_sendMany}}
- n: "Subtract Fee From Amount"
t: "array"
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 %}
*Result---a TXID of the sent transaction*

View file

@ -62,7 +62,7 @@ The `sendtoaddress` RPC {{summary_sendToAddress}}
- n: "Subtract Fee From Amount"
t: "boolean"
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 %}