transferfromaddress
RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).
Use ./yerbas-cli help transferfromaddress on your node for help. In the GUI console omit yerbas-cli. HTTP examples use mainnet RPC port 15419; network-specific defaults and availability can differ.
transferfromaddress "asset_name" "from_address" qty "to_address" "message" expire_time "yerb_change_address" "asset_change_address"
THIS COMMAND IS NOT YET ACTIVE!
https://github.com/The-Yerbas-Endeavor/yerbas
V4 mainnet wallet policy: asset creation, sending, reissuance, ownership transfers, and asset reward payouts
are locked below tip height 1195400. Receiving/viewing assets and ordinary YERB payments remain available.
Testnet/regtest are unaffected. This is wallet policy, not a consensus restriction on raw transactions.
Transfer a quantity of an owned asset in a specific address to a given address
Arguments:
1. "asset_name" (string, required) name of asset
2. "from_address" (string, required) address that the asset will be transferred from
3. "qty" (numeric, required) number of assets you want to send to the address
4. "to_address" (string, required) address to send the asset to
5. "message" (string, optional) Once RIP5 is voted in ipfs hash or txid hash to send along with the transfer
6. "expire_time" (numeric, optional) UTC timestamp of when the message expires
7. "yerb_change_address" (string, optional, default = "") the transaction YERB change will be sent to this address
8. "asset_change_address" (string, optional, default = "") the transaction Asset change will be sent to this address
Result:
txid[
txid
]
Examples:
> yerbas-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:15419/