theta_read_contract
Call a read-only view function on a Theta smart contract to retrieve data using the contract address and function signature.
Instructions
Call a view function on a deployed Theta smart contract. Read-only.
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": {
"contract_address": "<contract_address>",
"function_signature": "<function_signature>"
},
"name": "theta_read_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| contract_address | Yes | ||
| function_signature | Yes |