Skip to main content

transferfromaddresses

RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).

Use ./yerbas-cli help transferfromaddresses 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.

transferfromaddresses "asset_name" ["from_addresses"] 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 specific address(es) to a given address
Arguments:
1. "asset_name" (string, required) name of asset
2. "from_addresses" (array, required) list of from addresses to send 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 transactions YERB change will be sent to this address
8. "asset_change_address" (string, optional, default = "") the transactions Asset change will be sent to this address

Result:
txid[
txid
]

Examples:
> yerbas-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:15419/