chain_call
Read-only contract call (eth_call) — Run a read-only eth_call with your ABI-encoded calldata (to=, data=, optional from= and block=); returns raw result, 32-byte words and uint/address/string decodings; reverts return 422 with the revert data (not charged). Chains: base (default), ethereum, arbitrum, optimism, polygon via chain=. Price: $0.003 USDC (Base, via x402).
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": {
"chain": "<chain>",
"to": "<to>",
"data": "<data>"
},
"name": "chain_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 | |
| data | Yes | 0x18160ddd | |
| chain | Yes | base |