invokeRead
Execute a contract invocation in read-only mode.
Input Arguments
Parameter | Description |
---|---|
| Script hash of the smart contract to invoke a read on |
| Operation on the smart contract to call |
Any input arguments for the operation | |
| Network to submit this request to. If omitted, will default to network the wallet is currently set to. |
Success Response
The wallet will return the direct response from the RPC node.
Parameter | Description |
---|---|
| The script which was run |
| Status of the executeion |
| Estimated amount of GAS to be used to execute the invocation. (Up to 10 free per transaction) |
An array of response arguments |
Argument
Parameter | Description |
---|---|
| The type of the argument with you are using |
| String representation of the argument which you are using |
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
最后更新于