Show / Hide
Table of Contents
Last modified: 2024-08-12
sendfrom Method
Transfer from the specified address to the destination address.
Before you can invoke this method you must:
-
Install the plugin RpcServer
-
Call the RPC method openwallet
to open the wallet first.
Parameter Description
-
asset_id: Asset ID(asset identifier), the script hash of nep-17 contract.
e.g. NEO is 0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5
GAS is 0xd2a4cff31913016155e38e474a2c06d08be276cf
-
from: transfering address.
-
address: destination address.
-
value: Transfer amount
-
signers: The signature account of transaction
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.