Call the RPC method openwallet to open the wallet first.
Parameter Description
from : Optional. The address from which you transfer the asset.
outputs_array :Array, the data structure of each element in the array is as follows:
asset : Asset ID (asset identifier), the NEP-17 contract scripthash
value : Transfer amount
address : Destination address
signers : The signature account of transaction
e.g. NeoToken is: 0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5
GasToken is: 0xd2a4cff31913016155e38e474a2c06d08be276cf
Exception
-301, Wallet fee limit exceeded.
-302, No opened wallet.
-511, Insufficient funds for fee.
Example
Request text:
Request text (with fromAddress):
Response text:
Response Description:
Returns the transaction details as above if the transaction was sent successfully; otherwise the transaction is failed.
If the JSON format is incorrect, a Parse error is returned. If the signature is incomplete, a pending transaction is returned. If the balance is insufficient, an error message is returned.