mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Add subtractfeeamount parameter
Source: e4918316d8/src/wallet/rpcwallet.cpp (L403)
This commit is contained in:
parent
a563ab55bd
commit
00202e2783
1 changed files with 11 additions and 1 deletions
|
@ -56,6 +56,16 @@ The `sendtoaddress` RPC {{summary_sendToAddress}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
*Parameter #5---automatic fee subtraction
|
||||||
|
|
||||||
|
{% itemplate ntpd1 %}
|
||||||
|
- 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"
|
||||||
|
|
||||||
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result---a TXID of the sent transaction*
|
*Result---a TXID of the sent transaction*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
|
@ -63,7 +73,7 @@ The `sendtoaddress` RPC {{summary_sendToAddress}}
|
||||||
t: "string"
|
t: "string"
|
||||||
p: "Required<br>(exactly 1)"
|
p: "Required<br>(exactly 1)"
|
||||||
d: "The TXID of the sent transaction, encoded as hex in RPC byte order"
|
d: "The TXID of the sent transaction, encoded as hex in RPC byte order"
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Example from Bitcoin Core 0.10.0*
|
*Example from Bitcoin Core 0.10.0*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue