Custom Smart Contracts
Read
This API provides endpoints for interacting with smart contracts on the blockchain. It allows for reading contract data,
Request Body
The request body should be in raw format and include the following parameters:
-
address
: The address for the contract -
method
: The method to be called -
parameters
: An array of parameters -
abi
: An array containing the ABI of the contract or method
POST
Authorizations
Path Parameters
Example:
"{{walletId}}"
Body
application/json
Example:
[
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [{ "name": "", "type": "uint256" }],
"payable": false,
"stateMutability": "view",
"type": "function"
}
]
Example:
"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"
Example:
"totalSupply()"
Example:
[]