{"uid":"cap_X-qYWHfjIUbCRqQsF-O-A","slug":"base-eth-logs-70ef7ecb","name":"Base ETH Logs","description":"Event logs on Base: takes address (contract, 0x + 40 hex), optional topic0 (event signature hash, 0x + 64 hex) and optional blocks (last N blocks, 1-100, default 10), and returns the matching eth_get…","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/x402_chain_reads_v1/base_eth_getlogs?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"blocks":{"type":"string","description":"optional, last N blocks, 1-100 (default 10)"},"topic0":{"type":"string","description":"optional event signature hash, 0x + 64 hex"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"contract, 0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C22LvEoVfAzv5OWlB7zLW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Ethereum event logs (eth_getLogs) for a contract address on the Base network, with optional event topic and block range filtering.","exampleAgentPrompt":"Pull the last 20 blocks of event logs for the Base contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, filtering to the Transfer event signature 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.","exampleUseCases":[{"title":"Monitor DeFi pool swap events","prompt":"Get me the last 50 blocks of Swap event logs from the Uniswap V3 pool at 0x4C36388bE6F416A29C8d8Eee81C771cE6bE14B18 on Base — filter by topic0 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67."},{"title":"Audit ERC-20 transfers for a token","prompt":"Fetch the last 10 blocks of Transfer event logs for the USDC contract on Base at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, using topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef."},{"title":"Debug recent contract activity","prompt":"Show me all the on-chain event logs emitted by the contract at 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 on Base for the last 5 blocks so I can see what functions were triggered recently."}],"resultDescription":"Returns an array of matching eth_getLogs entries from Base, each containing the contract address, transaction hash, block number, log index, topics array, and hex-encoded data payload — mirroring the standard Ethereum JSON-RPC eth_getLogs response structure.","failureModes":["Invalid contract address format (not 0x + 40 hex) returns validation error","Invalid topic0 format (not 0x + 64 hex) returns validation error","blocks value outside 1-100 range rejected","Contract address has no logs in the requested block range — returns empty array","RPC node unavailability or Base network issues cause 5xx errors","Payment of $0.005 USDC not provided or invalid causes 402 payment required"],"whenToPreferThis":"Choose this endpoint when you need raw on-chain event logs from Base L2 contracts and can filter by event signature (topic0). It is ideal for monitoring DeFi activity, auditing ERC-20 transfers, debugging contract events, or building reactive agents that act on on-chain state changes. Prefer this over transaction receipt lookups when you want bulk event scanning across a block range rather than a single transaction's logs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:39:26.673Z","isFirstParty":false,"canonicalSlug":"base-eth-logs-70ef7ecb"}