zetrix_sdk_call_contract
Query smart contract functions on the Zetrix blockchain to retrieve data without modifying state. Specify contract address and input parameters to execute read-only calls.
Instructions
Call a smart contract function (query only, no state change) using SDK
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contractAddress": "<contractAddress>"
},
"name": "zetrix_sdk_call_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | The deployed smart contract address | |
| input | No | JSON string with method and params | |
| sourceAddress | No | Optional source address for the call |