sendtoaddress
Send an amount to a given address
Arguments:
- 1."address" (string, required) The meowcoin address to send to.
- 2."amount" (numeric or string, required) The amount in MEWC 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 meowcoins than you enter in the amount field.
- 6.conf_target (numeric, optional) Confirmation target (in blocks)
- 7."estimate_mode" (string, optional, default=UNSET) The fee estimate mode, must be one of: "UNSET" "ECONOMICAL" "CONSERVATIVE"
Example:
Request Body:
{
"jsonrpc": "2.0",
"method": "sendtoaddress",
"params": ["MBRyCE7jvJ63q3gCHMNudqBiEorQZiK6rA", 5000, "For the Cats!", "MeowHaus", true],
"id": 1
}
Response Body:
{
"10c48486fe7f0500838fc6158f6e340bc9f1b7c8f1eb54fdaec0caea5ad8bebd"
}
Last modified 3mo ago