{"uid":"cap_8BMS9BY2DDNco9qPtEi40","slug":"base-eth-getlogs-contract-event-log-reader-d0176918","name":"Base eth_getLogs – Contract Event Log Reader","description":"ARYSPHERE sells AI-written verdicts on Base token contracts (a grade, a one-liner, a roast and the contract's facts) and Base/Ethereum chain reads, paid per call in USDC on Base over x402 v2. No account and no API key.","url":"https://api.arysphere.com/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":{"type":"json","example":{"ok":true,"chain":"base","method":"eth_getLogs","result":{"logs":[{"data":"0x000000000000000000000000000000000000000000000000000000046059f24b","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x000000000000000000000000b2cc224c1c9fee385f8ad6a55b4d94e92359dc59",""],"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","removed":false,"logIndex":"0x0","blockHash":"0x070a9affe2a28d7cf48692cf3b39420a699e6e2c5549fcd351143931a329400f","blockNumber":"0x31f549f","blockTimestamp":"0x6ac90621","transactionHash":"0xd6acc3445213c7bb13fafe113c818965d71567c3a8d0defdba730577e0f4c85d","transactionIndex":"0x1"},{"data":"0x00000000000000000000000000000000000000000000000000000001b91d1bf1","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x000000000000000000000000160d7e9d948b16c163332a277b393c288408eb12",""],"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","removed":false,"logIndex":"0x3","blockHash":"0x070a9affe2a28d7cf48692cf3b39420a699e6e2c5549fcd351143931a329400f","blockNumber":"0x31f549f","blockTimestamp":"0x6ac90621","transactionHash":"0x871c536d6987ca7ac859231108c11b5604874b55a50b9ed063bc55d1add86142","transactionIndex":"0x3"},""],"count":205,"to_block":52384927,"truncated":true,"from_block":52384927},"service":"x402_chain_reads_v1.base_eth_getlogs"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YZ01ft-qeEmHUjXpnvZT3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches filtered on-chain event logs from a Base smart contract by address, optional event signature topic, and optional block range.","exampleAgentPrompt":"Pull the last 20 blocks of Transfer event logs from the USDC contract on Base — the contract address is 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 and the Transfer topic is 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.","exampleUseCases":[{"title":"Track ERC-20 transfers on Base","prompt":"Show me all Transfer events from the USDC contract on Base (0x833589fcd6edb6e08f4c7c32d4f71b54bda02913) over the last 30 blocks, filtering by the Transfer topic 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef."},{"title":"Audit DeFi protocol activity","prompt":"Fetch the most recent 50 blocks of event logs from the Uniswap v3 pool contract at 0x1234abcd... on Base so I can see what swap and liquidity events have been fired lately."},{"title":"Detect contract events for alerting","prompt":"Check the last 10 blocks for any events emitted by the NFT contract at 0xabc123... on Base — I want to see if any Mint or Transfer logs appeared recently."}],"resultDescription":"Returns a JSON object with ok status, chain identifier ('base'), method ('eth_getLogs'), and a result object containing an array of matching log entries. Each log includes address, topics array, data, blockNumber, blockHash, blockTimestamp, transactionHash, transactionIndex, logIndex, and a removed flag. Also returns count of matching logs, from_block, to_block, and a truncated flag indicating whether results were capped.","failureModes":["Invalid contract address format (not 0x + 40 hex) returns validation error","Invalid topic0 format (not 0x + 64 hex) returns validation error","blocks parameter out of range (outside 1-100) returns error","Contract address with no logs in range returns empty logs array","Upstream Base node unavailability returns 5xx error","Payment failure (402) if x402 micropayment header is missing or insufficient"],"whenToPreferThis":"Use this endpoint when you need on-chain event log data from Base specifically — filtered by contract address and optionally by event signature — and only need the most recent N blocks (up to 100). It is purpose-built for Base and returns clean eth_getLogs results with block metadata. Prefer it over a generic RPC endpoint when you want a simple HTTP GET with optional topic filtering without managing a full node connection or RPC provider key. Not suitable for historical archive queries beyond 100 blocks or for other chains (see sibling Ethereum endpoint).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:47.627Z","isFirstParty":false,"canonicalSlug":"base-eth-getlogs-contract-event-log-reader-d0176918"}