callContract()
Use this method if you want to execute a function writte in a smart contract.
Last updated
Use this method if you want to execute a function writte in a smart contract.
Last updated
Method Signature
Parameters
Name | Type | Description |
---|---|---|
Example
Result
The result will be of type Array
, 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.
blockchain
String
Blockchain address in hex
from
String
User's wallet address in hex
address
String
Smart Contract's address in hex
request
String
Requested function in string format (include the parenthesis and the semicolumn e.g. CRC_Contract.__GetContractName();).