Execute read-only contract call
chain-data_contract_readExecute a read-only call to a smart contract on Base Mainnet using eth_call. Returns the result without submitting a transaction. Price $0.02 USDC. POST /api/v1/chain-data/contract/read. Unpaid calls return 402 and do not run.
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": {
"address": "<address>",
"data": "<data>"
},
"name": "chain-data_contract_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| address | Yes | ||
| blockNumber | No |