{"uid":"cap_bgeUP_a8c_dgqRQgPnpEr","slug":"gnosis-chain-event-logs-eth-getlogs-9fd81436","name":"Gnosis Chain Event Logs (eth_getLogs)","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/gnosis_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":"gnosis","method":"eth_getLogs","result":{"logs":[{"data":"0x00000000000000000000000000000000000000000000000000000000002333a8","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000007f90122bf0700f9e7e1f688fe926940e8839f353"],"address":"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83","removed":false,"logIndex":"0x3","blockHash":"0xd8f60070c47b0aebf5c1a1048e7218cba3060604c73bf6931d3c5f48e8733b5e","blockNumber":"0x2e89bea","blockTimestamp":"0x6ad30f7b","transactionHash":"0x88f237062d07deb3ac426d697631d89a86860b8aa0746822c155e7c77b8a5574","transactionIndex":"0x0"},{"data":"0x00000000000000000000000000000000000000000000000000000000002333a8","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x000000000000000000000000b45373129b4220160b92bd2320869f44d48ecd01"],"address":"0xddafbb505ad214d7b80b1f830fccc89b60fb7a83","removed":false,"logIndex":"0x6","blockHash":"0xd8f60070c47b0aebf5c1a1048e7218cba3060604c73bf6931d3c5f48e8733b5e","blockNumber":"0x2e89bea","blockTimestamp":"0x6ad30f7b","transactionHash":"0x88f237062d07deb3ac426d697631d89a86860b8aa0746822c155e7c77b8a5574","transactionIndex":"0x0"}],"count":2,"to_block":48798701,"truncated":false,"from_block":48798692},"service":"x402_chain_reads_v1.gnosis_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_rQRokezmZ9v-3Jktz125j","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 raw event logs from a Gnosis Chain smart contract address, filtered by topic and block range, using eth_getLogs.","exampleAgentPrompt":"Can you pull the last 20 blocks of Transfer event logs from the Gnosis Chain contract at 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb, filtering by the ERC-20 Transfer topic 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef?","exampleUseCases":[{"title":"Track ERC-20 transfers on Gnosis","prompt":"Show me all Transfer events from the xDAI stablecoin contract 0x44fA8E6588e9e57c5b9c6b7C5e6b1a2F8B8D4f1 on Gnosis Chain over the last 50 blocks, filtered by the Transfer topic 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef."},{"title":"Monitor DeFi protocol events","prompt":"Fetch the last 30 blocks of event logs from the Gnosis Chain contract 0x1B02dA8Cb0d097eB8D57A175b88c7D8b47997506 so I can see what swaps and liquidity events have happened recently."},{"title":"Debug smart contract activity","prompt":"Get me the raw event logs for Gnosis contract 0x4ECaBa5870353805a9F068101A40E0f32ed605C6 from the last 10 blocks — I want to check whether any events fired in the most recent blocks."}],"resultDescription":"Returns a JSON object containing an array of raw event log entries, each with fields including address, topics, data, blockNumber, blockHash, blockTimestamp, transactionHash, transactionIndex, logIndex, and removed flag. Also includes count of total matching logs, from_block, to_block, and a truncated flag indicating whether the result was 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 (must be 1-100) returns error","Contract address with no events in the requested block range returns empty logs array","RPC node unavailability or Gnosis Chain congestion may cause timeout","Payment of 0.003 USDC via x402 protocol required; missing or invalid payment returns 402"],"whenToPreferThis":"Use this endpoint when you need raw on-chain event logs specifically from the Gnosis Chain (xDai) network for a known contract address. Prefer this over Ethereum or Base equivalents when the contract is deployed on Gnosis Chain. Ideal for monitoring token transfers, DeFi events, or any contract-emitted events in a recent block window without needing to run your own node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:38:24.462Z","isFirstParty":false,"canonicalSlug":"gnosis-chain-event-logs-eth-getlogs-9fd81436"}