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 an object of type Map<String, dynamic>
Remember to convert the response from Hex to String if you want to get the result in plain text.
Last updated