sendtoaddress - Spacecoin RPC Docs
sendtoaddress "SPACE_address" amount ( "comment" "comment-to" subtractfeefromamount ) Send an amount to a given address. The amount is a real and is rounded to the nearest 0.00000001 Arguments: 1. "SPACE_address" (string, required) The SPACE address to send to. 2. "amount" (numeric, required) The amount in SPACE 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 SPACE than you enter in the amount field. Result: "transactionid" (string) The transaction id. Examples: > spacecoin-cli sendtoaddress "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.1 > spacecoin-cli sendtoaddress "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.1 "donation" "seans outpost" > spacecoin-cli sendtoaddress "RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV" 0.1 "" "" true > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["RD6GgnrMpPaTSMn8vai6yiGA7mN4QGPV", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:35593/
Learn more about spacecoin at spacecoin.network. Docs generated by spacecoin v0.6.1. Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.
CClib
Addressindex
Auction
Blockchain
coinsupply
getbestblockhash
getblock
getblockchaininfo
getblockcount
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getlastsegidstakes
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
kvsearch
kvupdate
minerids
notaries
verifychain
verifytxoutproof
getbestblockhash
getblock
getblockchaininfo
getblockcount
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getlastsegidstakes
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
kvsearch
kvupdate
minerids
notaries
verifychain
verifytxoutproof
Channels
Crosschain
MoMoMdata
assetchainproof
calc_MoM
getNotarisationsForBlock
getimports
getwalletburntransactions
height_MoM
importdual
importgatewaybind
importgatewaycompletesigning
importgatewayddress
importgatewaydeposit
importgatewaybind
importgatewaymarkdone
importgatewayspartialsign
importgatewaypendingwithdraws
importgatewayprocessed
importgatewaywithdraw
migrate_checkburntransactionsource
migrate_completeimporttransaction
migrate_converttoexport
migrate_createburntransaction
migrate_createimporttransaction
migrate_createnotaryapprovaltransaction
scanNotarisationsDB
selfimport
assetchainproof
calc_MoM
getNotarisationsForBlock
getimports
getwalletburntransactions
height_MoM
importdual
importgatewaybind
importgatewaycompletesigning
importgatewayddress
importgatewaydeposit
importgatewaybind
importgatewaymarkdone
importgatewayspartialsign
importgatewaypendingwithdraws
importgatewayprocessed
importgatewaywithdraw
migrate_checkburntransactionsource
migrate_completeimporttransaction
migrate_converttoexport
migrate_createburntransaction
migrate_createimporttransaction
migrate_createnotaryapprovaltransaction
scanNotarisationsDB
selfimport
Gateways
Generating
Lotto
Marmara
Mining
NSPV
Network
Oracles
Payments
Pegs
Prices
Rawtransactions
Rewards
Tokens
Util
Wallet
addmultisigaddress
backupwallet
cleanwallettransactions
convertpassphrase
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
opreturn_burn
resendwallettransactions
sendfrom
sendmany
sendtoaddress
setaccount
setpubkey
setstakingsplit
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit
backupwallet
cleanwallettransactions
convertpassphrase
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
opreturn_burn
resendwallettransactions
sendfrom
sendmany
sendtoaddress
setaccount
setpubkey
setstakingsplit
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit