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