{"uid":"cap_zmKWJ58tbHPNg6Dk-YNOj","slug":"base-chain-event-logs-reader-7f8504e1","name":"Base Chain Event Logs Reader","description":"Recent contract event logs on Base (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 base_receipt.","url":"https://agent-data-tools.revmesh2074.workers.dev/base/logs?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["address"],"properties":{"blocks":{"type":"integer","description":"How many recent blocks to scan (1-1000, default 50)"},"topic0":{"type":"string","description":"Optional 0x event signature hash to filter by"},"address":{"type":"string","description":"0x contract address"}}},"responseSchema":{"type":"object","properties":{"logs":{"type":"array","items":{"type":"object","properties":{"tx":{"type":"string"},"data":{"type":"string"},"block":{"type":"number"},"topics":{"type":"array","items":{"type":"string"}},"logIndex":{"type":"number"}}}},"chain":{"type":"string"},"count":{"type":"number"},"address":{"type":"string"},"chainId":{"type":"number"},"toBlock":{"type":"number"},"fromBlock":{"type":"number"},"truncated":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n3xbVXwPJKjQ1tKvIKewH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches recent event logs from a smart contract on the Base blockchain, with optional filtering by event topic and block range","exampleAgentPrompt":"Can you pull the last 100 blocks of event logs from the Base USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and filter for Transfer events using topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef?","exampleUseCases":[{"title":"Monitor ERC-20 Transfer activity","prompt":"Fetch the last 200 blocks of logs from the USDC contract on Base at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and filter for Transfer events using topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef so I can see recent transfer activity."},{"title":"Debug smart contract events","prompt":"Pull the most recent 50 blocks of event logs from my deployed contract at 0x1234abcd... on Base — I need to see all raw topics and data to debug what events are being emitted."},{"title":"Track DeFi protocol swaps on Base","prompt":"Get the last 500 blocks of logs from the Uniswap v3 pool at 0xabc123... on Base and filter for Swap events using topic0 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67."}],"resultDescription":"Returns a JSON object containing an array of event log entries (each with transaction hash, raw data, block number, topics array, and log index), plus metadata including the chain name, chain ID, scanned block range (fromBlock, toBlock), total log count, contract address, and a truncated flag indicating whether results were capped.","failureModes":["Missing or invalid contract address returns an error","Block range exceeding 1000 blocks may be rejected or truncated","Invalid topic0 hash format causes filtering to fail or return no results","Contract address with no events in the scanned range returns empty logs array","Network congestion on Base RPC may cause timeouts"],"whenToPreferThis":"Use this endpoint when you need raw on-chain event log data from a specific smart contract on the Base network, especially when you want to filter by event type using a topic0 signature hash. Ideal for agents monitoring DeFi activity, debugging contract behavior, or auditing on-chain state changes without needing a full blockchain node or indexer subscription. Priced at $0.001 USDC per call with no API key required, making it suitable for lightweight pay-per-use agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:44:53.133Z","isFirstParty":false,"canonicalSlug":"base-chain-event-logs-reader-7f8504e1"}