callContract()
Use this method if you want to execute a function writte in a smart contract.
Method Signature
Parameters
Name
Type
Description
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();).
Example
Result
The result will be of type JSON
.
Remember to convert the response from Hex to String if you want to get the result in plain text.
Last updated