RPC Browser

Command: sendtoaddress


sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")

Send an amount to a given address.

1. "address"            (string, required) The Actinium address to send to.
2. "amount"             (numeric or string, required) The amount in ACM to send. eg 0.1
3. "comment"            (string, optional) A comment used to store what the transaction is for. 
                             This is not part of the transaction, just kept in your wallet.
4. "comment_to"         (string, optional) A comment to store the name of the person or organization 
                             to which you're sending the transaction. This is not part of the 
                             transaction, just kept in your wallet.
5. subtractfeefromamount  (boolean, optional, default=false) The fee will be deducted from the amount being sent.
                             The recipient will receive less Actiniums than you enter in the amount field.
6. replaceable            (boolean, optional) Allow this transaction to be replaced by a transaction with higher fees via BIP 125
7. conf_target            (numeric, optional) Confirmation target (in blocks)
8. "estimate_mode"      (string, optional, default=UNSET) The fee estimate mode, must be one of:

"txid"                  (string) The transaction id.

> Actinium-cli sendtoaddress "NXb1tmZaHo2GgUFn2HDfgsovmuKvhsscbf" 0.1
> Actinium-cli sendtoaddress "NXoKqDMHYyczY7MGjHyr9midJNtosJBjy4" 0.1 "donation" "seans outpost"
> Actinium-cli sendtoaddress "NYeebQGoC77PyFtdHhzXvHqG2ur9AaFoEV" 0.1 "" "" true
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["NXQB1wdsLYspQr2TwZ478yGsWHkecv1Q8b", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;'

Blockchain (23)

Control (5)

Generating (2)

Mining (5)

Network (13)

Rawtransactions (8)

Util (6)

Wallet (48)