event_logs
event_logsFetch contract event logs for EVM chains or latest Solana account signatures in a single RPC call, with optional block-range, topic, and result-limit filters.
Instructions
Event logs for one contract in one RPC402 call ($0.002 USDC via x402). EVM: eth_getLogs (range cap 2,000 blocks, result cap 1,000; defaults fromBlock=toBlock-99, toBlock=head). Solana: latest transaction signatures for the account (getSignaturesForAddress) — Solana has no block-range log query; the response carries a note saying so.
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>",
"address": "<address>"
},
"name": "event_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain to READ (settlement network is separate, configured by env) | |
| limit | No | Solana only. Max signatures to return (default 100) | |
| topics | No | EVM only. Topic filters: 0x + 64 hex chars, or null per position | |
| address | Yes | Contract / account address: 0x… (EVM) or base58 (solana) | |
| toBlock | No | EVM only. Block number or "latest" (default) | |
| fromBlock | No | EVM only. Block number or "latest". Default: toBlock - 99 |