{"uid":"cap_NXtJy1sQUPNl-KTuskKJn","slug":"dopaminedesk-evm-logs-api-955552e8","name":"DopamineDesk EVM Logs API","description":"Read contract event logs across a strictly bounded block range with an optional topic0 filter and capped response count.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_logs","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"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"base, ethereum, or arbitrum; defaults to base."},"limit":{"type":"integer","description":"Maximum logs returned from 1 to 500; defaults to 100. Block ranges cannot exceed 2,000 blocks."},"topic0":{"type":"string","description":"Optional 32-byte event-signature topic hash."},"address":{"type":"string","description":"Contract address whose logs should be read."},"to_block":{"type":"string","description":"Explicit height or latest; defaults to from_block."},"from_block":{"type":"string","description":"Explicit height or latest; defaults to latest."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","network","count","truncated","logs"],"properties":{"logs":{"type":"array","items":{"type":"object","required":["transaction_hash","topics","data"],"properties":{"data":{"type":"string"},"topics":{"type":"array","items":{}},"transaction_hash":{"type":"string"}},"additionalProperties":true}},"count":{"type":"integer"},"network":{"type":"string"},"success":{"type":"boolean"},"truncated":{"type":"boolean"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"logs":[{"data":"0x...","topics":["0x..."],"transaction_hash":"0x..."}],"count":1,"network":"base","success":true,"truncated":false}},"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_eIqCkp26MfhQprPjMB808","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 on-chain event logs for a given contract address on Base, Ethereum, or Arbitrum within a specified block range.","exampleAgentPrompt":"Pull up to 200 raw event logs for the contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum, starting from block 19000000 to block 19002000, filtered by the Transfer event topic 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.","exampleUseCases":[{"title":"Monitor DeFi protocol events on Base","prompt":"Fetch the last 100 event logs for the Uniswap V3 pool contract 0x4e68Ccd3E89f51C3074ca5072bbAC773960dFa36 on Base, from block 12000000 to the latest block."},{"title":"Audit ERC-20 Transfer activity","prompt":"Get up to 500 Transfer event logs for the USDC contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum between blocks 19500000 and 19502000, filtered by topic 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef."},{"title":"Investigate smart contract activity on Arbitrum","prompt":"Retrieve event logs for the contract 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8 on Arbitrum from block 150000000 to block 150002000, limit to 50 results."}],"resultDescription":"Returns a JSON object containing an array of raw EVM event log entries, each with a transaction hash, array of topics, and hex-encoded data field, plus metadata: the network name, total log count returned, a success flag, and a truncated flag indicating whether the result set was capped at the requested limit.","failureModes":["Missing required contract address parameter returns validation error","Block range exceeds 2,000 blocks returns an error or truncated result","Invalid chain name (not base/ethereum/arbitrum) returns an error","Contract address not found on specified chain returns empty logs array","topic0 hash format invalid returns a parsing error","Payment not settled via x402 returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need raw on-chain event logs for a specific contract address on Base, Ethereum, or Arbitrum, especially when you want to filter by event signature (topic0) and control the block range precisely. It is pay-per-use at $0.003 USDC via x402, making it suitable for sporadic or agent-driven queries without a subscription. Prefer alternatives (e.g. a full indexer or TheGraph) if you need decoded, human-readable events, historical data beyond 2,000-block windows at scale, or multi-contract queries in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:43.960Z","isFirstParty":false}