invoke
Invoke allows for the generic execution of smart contracts on behalf of the user. It is reccommended to have a general understanding of the NEO blockchain, and to be able successfully use all other commands listed previously in this document before attempting a generic contract execution.
Input Arguments
Parameter | Description |
---|---|
| Script hash of the smart contract to invoke |
| Operation on the smart contract to call |
Any input arguments for the operation | |
| The parsed amount of network fee (in GAS) to include with transaction |
| This fee will be added to system fee |
| This fee will override the system fee |
| In the case that the dApp would like to be responsible for broadcasting the signed transaction rather than the wallet provider |
Sender and the effective scope of signature |
Argument
Parameter | Description |
---|---|
| The type of the argument with you are using |
| String representation of the argument which you are using |
In the case where the "broadcastOverride" input argument is set to True.
Parameter | Description |
---|---|
| 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
最后更新于