sendfrom Method
Transfer from the specified address to the destination address.
Before you can invoke this method you must:
Open the wallet in NEO-CLI.
Install the plugin RpcWallet .
Parameters
-
asset_id:Asset ID(asset identifier),The RegistTransaction ID of the asset at the time of registration.
For NEO:c56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b
For NeoGas:602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7
The remaining asset IDs can be passed through the CLI commandline, the list Asset command query can also be queried in the block chain browser.
-
from:transfering address.
-
to: destination address.
-
value:Transfer amount
-
fee:Optional parameter. Paying the handling fee helps elevate the priority of the network to process the transfer. It defaults to 0, and can be set to a minimum of 0.00000001.
-
Change_address: Change address, optional parameter, default is the first standard address in the wallet.
Example
Request body:
Request body
Response Description:
Returns the transaction details as above if the transaction was sent successfully; otherwise the transaction is failed.
If the signature is incomplete, a pending transaction is returned. If the balance is insufficient, an error message is returned.