callContract()
Call a smart contract function and get the output
Method Signature
Parameters
Name | Type | Description |
---|---|---|
| string or hexadecimal | Blockchain address |
| string or hexadecimal | User's wallet address |
| string or hexadecimal | Smart Contract's address |
| string | Requested function in string format (include the parenthesis and the semicolumn e.g. CRC_Contract.__GetContractName();). |
Example
Result
Remember to convert the response from Hex to String if you want to get the result in plain text.
Last updated