posthttps://api.circle.com/v1/w3s/contracts/query
Query the state of a contract by providing the address and blockchain.
The blockchain network that the resource is to be created on or is currently on.
Required along with sourceAddress
if you don't provide walletId
. The blockchain
and walletId
fields are mutually exclusive.
Address of the contract to be queried.
The contract ABI function signature or callData
field is required for interacting with the smart contract. The ABI function signature cannot be used simultaneously with callData
. e.g. burn(uint256)
The contract ABI function signature parameters for executing the contract interaction. Supported parameter types include string, integer, boolean, and array. These parameters should be used exclusively with the abiFunctionSignature and cannot be used with callData
.
The contract's ABI in a JSON stringified format.
CallData is input data that encodes method and parameters.
FromAddress is the address that will populate msg.sender in the contract call.
1{
2 "data": {
3 "outputValues": [],
4 "outputData": ""
5 }
6}