assetsend (4.2.2 RPC)
blockchain
control
evo
evowallet
generating
governance
governancewallet
masternode
mining
network
rawtransactions
syscoin
syscoinwallet
util
wallet
zmq
assetsend "asset_guid" "address" amount ( sys_amount "NFTID" )
Send an asset you own to another address.
Arguments:
1. asset_guid (string, required) The asset guid.
2. address (string, required) The address to send the asset to (creates an asset allocation).
3. amount (numeric or string, required) Amount of asset to send.
4. sys_amount (numeric or string) Amount of syscoin to send.
5. NFTID (string) Optional NFT ID to send
Result:
{ (json object)
"txid" : "hex" (string) The transaction id
}
Examples:
> syscoin-cli assetsend "asset_guid" "address" "amount" "sys_amount" "NFTID"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "assetsend", "params": ["asset_guid", "address", "amount", "sys_amount", "NFTID"]}' -H 'content-type: text/plain;' http://127.0.0.1:8370/