send
Invoke a transfer of a specified amount of a given asset from the connected account to another account.
Input Arguments
Parameter | Description |
---|---|
| Address of the connected account to send the assets from |
| Address of the receiver of the assets to be sent |
| Asset script hash to be sent. Accepts asset symbol only for "MainNet" |
| The parsed amount of the asset to be sent |
| Description of the transaction to be made |
| The parsed amount of network fee (in GAS) to include with transaction |
| Network to submit this request to. If omitted, will default to network the wallet is currently set to |
| In the case that the dApp would like to be responsible for broadcasting the signed transaction rather than the wallet provider |
Success Response
In the case where the "broadcastOverride" input argument is not set, or set to false.
Parameter | Description |
---|---|
| The transaction ID of the send invocation |
| The node which the transaction was broadcast to. Returned if transaction is broadcast by wallet provider |
In the case where the "broadcastOverride" input argument is set to True.
Parameter | Description |
---|---|
| The transaction ID of the send invocation |
| The serialized signed transaction. Only returned if the broadcastOverride input argument was set to True |
Error Response
Parameter | Description |
---|---|
| The type of error which has occured |
| A description of the error which has occured |
| Any raw data associated with the error |
Example
Request
Response
最后更新于