{"slug":"agent-data-tools-revmesh2074-workers-dev-op-logs-be3131","title":"Recent contract event logs on Optimism (eth_getLogs)","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/op/logs","category":"other","description":"Recent contract event logs on Optimism (eth_getLogs): the events a contract emitted over the last N blocks (1-1,000, default 50), optionally filtered by topic0 (the 0x 32-byte event signature hash). Returns up to 100 logs with block, transaction hash and topics. Use to watch transfers or contract ev","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"address":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"address":{"description":"0x contract address","examples":["0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"],"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"blocks":{"description":"How many recent blocks to scan (1-1000, default 50)","examples":[50],"type":"integer"},"topic0":{"description":"Optional 0x event signature hash to filter by","examples":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"],"pattern":"^0x[0-9a-fA-F]{64}$","type":"string"}},"required":["address"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"address":{"type":"string"},"chain":{"type":"string"},"chainId":{"type":"number"},"count":{"type":"number"},"fromBlock":{"type":"number"},"logs":{"items":{"properties":{"block":{"type":"number"},"data":{"type":"string"},"logIndex":{"type":"number"},"topics":{"items":{"type":"string"},"type":"array"},"tx":{"type":"string"}},"type":"object"},"type":"array"},"toBlock":{"type":"number"},"truncated":{"type":"boolean"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Recent contract event logs on Optimism (eth_getLogs): the events a contract emitted over the last N blocks (1-1,000, default 50), optionally filtered by topic0 (the 0x 32-byte event signature hash). Returns up to 100 logs with block, transaction hash and topics. Use to watch transfers or contract events; for one transaction's outcome use op_receipt.","last_updated":"2026-10-22T18:21:47.541Z","schemes":["exact"]}