CallContract()
Use this method if you want to execute a function writte in a smart contract.
Method Signature
Parameters
Name | Type | Description |
---|---|---|
| String | Blockchain address in hex |
| String | User's wallet address in hex |
| String | Smart Contract's address in hex |
| String | Requested function in string format (include the parenthesis and the semicolumn e.g. CRC_Contract.__GetContractName();). |
Example
Result
The result will be of type Map
, but for easier readability, here is the equivalent in JSON.
Remember to convert the response from Hex to String if you want to get the result in plain text.
Last updated