Read chain data
taifoon_chainReads blocks, transactions, logs, accounts and protocol state from the layer's own index and coord RPC. For a proof use taifoon_prove. Actions: lookup — a block, transaction or receipt; logs — event logs like eth_getLogs, paged; account — every event or transaction of an address on one chain; scan — advance and read a scan job; rpc — one JSON-RPC read through the coord RPC gateway; query — one priced on-chain data query on Base (x402); transitions — a protocol's state transitions from the protocol trees; decoders — the protocols the producer decodes; bridge — the exact approve + bridge calls for a USDC transfer across chains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | block: latest | finalized | a number | a block hash; tx and receipt: the 32-byte transaction hash (actions: lookup, scan) | |
| to | No | to (actions: logs, account) | |
| key | No | key (actions: transitions) | |
| txs | No | block: add the transaction hashes (actions: lookup) | |
| from | No | from (actions: logs, account) | |
| kind | No | kind (actions: lookup) | |
| view | No | view (actions: account) | |
| chain | No | 8453 (Base); "base" works too (actions: query) | |
| limit | No | limit (actions: logs, account, scan, transitions) | |
| speed | No | speed (actions: bridge) | |
| action | No | what to do (default lookup): lookup | logs | account | scan | rpc | query | transitions | decoders | bridge | lookup |
| amount | No | amount (actions: bridge) | |
| cursor | No | cursor (actions: logs, account, scan) | |
| method | No | method (actions: rpc) | |
| params | No | params (actions: rpc, query) | |
| sender | No | sender (actions: bridge) | |
| topic0 | No | topic0 (actions: logs) | |
| topic1 | No | topic1 (actions: logs) | |
| topic2 | No | topic2 (actions: logs) | |
| topic3 | No | topic3 (actions: logs) | |
| address | No | address (actions: logs, account) | |
| api_key | No | api key (actions: lookup, logs, account, scan, rpc, transitions) | |
| payment | No | optional: the x402 PAYMENT-SIGNATURE header value (base64) for the terms an unpaid call returns (actions: query) | |
| chain_id | No | any chain the layer reads: 8453, 5042, 1, 56, 43114, 42161, 137, 10, 4663, 42220, 36927, 3692781, 2741, 196, 143, 100 (actions: lookup, logs, account, scan, rpc) | |
| from_seq | No | from seq (actions: transitions) | |
| protocol | No | protocol (actions: transitions) | |
| question | No | question (actions: query) | |
| recipient | No | recipient (actions: bridge) | |
| full_proof | No | add the multiproof itself (actions: lookup) | |
| dst_chain_id | No | dst chain id (actions: bridge) | |
| src_chain_id | No | src chain id (actions: bridge) |