sendtoaddress
Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
Argument #1-address
Type: string, Required
Description: The bitcoin address to send to.
Argument #2-amount
Type: numeric or string, Required
Description: The amount in BTC to send. eg 0.1
Argument #3-comment
Type: string, Optional
Description: A comment used to store what the transaction is for. This is not part of the transaction, just kept in your wallet.
Argument #4-comment_to
Type: string, Optional
Description: 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.
Argument #5-subtractfeefromamount
Type: boolean, Optional
Default=false
Description: The fee will be deducted from the amount being sent. The recipient will receive less bitcoins than you enter in the amount field.
Argument #6-replaceable
Type: boolean, Optional
Default=wallet default
Description: Signal that this transaction can be replaced by a transaction (BIP 125)
Argument #7-conf_target
Type: number (int), Optional
Default=wallet -txconfirmtarget
Description: Confirmation target in blocks
Argument #8-estimate_mode
Type: string, Optional
Default="unset"
Description: The fee estimate mode, must be one of (case insensitive): "unset" "economical" "conservative"
Argument #9-avoid_reuse
Type: boolean, Optional
Default=true
Description: (only available if avoid_reuse wallet flag is set) Avoid spending from dirty addresses; addresses are considered dirty if they have previously been used in a transaction. If true, this also activates avoidpartialspends, grouping outputs by their addresses.
Result---(if verbose is not set or set to false)
Type: string (hex)
Description: The transaction id.
Result---(if verbose is set to true)
{ (json object)
"txid" : "hex", (string) The transaction id.
"fee_reason" : "str" (string) The transaction fee reason.
}