chainpeek: a read-only contract call (eth_call) on Ethereum, Base or Robinhood Chain
eth_callCall a smart contract function read-only on Ethereum, Base, or Robinhood Chain, returning raw ABI-encoded data without signing or sending anything.
Instructions
chainpeek: Call a smart contract function read-only on Ethereum, Base or Robinhood Chain. For gas units use estimate_gas; for a raw storage slot use get_storage_at. Returns the raw ABI-encoded return data (result, result_bytes) of eth_call against to with your calldata at latest, pending, finalized or a block number; nothing is signed or sent. The result is not decoded (decode_calldata decodes calldata; the ABI is yours). A call that reverts is a 422 reverted (not charged); results over 32 kB are a 502. Old blocks need an archive node and may fail. Ethereum, Base and Robinhood only; read-only: nothing is signed or sent. RPC reads are cached up to 30 s. A bad address, hash, hex string, block or range is a 422 before any payment (not charged). Typically under 1 s. Price: USD 0.002. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/ethereum-rpc-reads-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Contract (or account) to call. | |
| data | Yes | ABI-encoded calldata, 0x-hex with an even number of digits, at most 8 kB (4-byte selector + arguments; 0x18160ddd is totalSupply()). | |
| block | No | latest (default), pending, finalized or a block number (older blocks need an archive node and may fail). | |
| chain | Yes | ethereum, base or robinhood (Robinhood Chain, chain id 4663). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| note | No | ||
| block | No | ||
| chain | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| result | No | ||
| is_empty | No | ||
| selector | No | ||
| result_bytes | No |