{"uid":"cap_jnLJd3BoSlfBMIvcAfQD8","slug":"liquid-agent-decoded-evm-event-logs-16d14228","name":"Liquid Agent Decoded EVM Event Logs","description":"Decoded EVM event logs with a caller-supplied ABI, adaptive block chunking and raw fallback for unknown events. $0.005 per started 1,000 blocks. Base, Polygon, Arbitrum, Optimism or Avalanche.","url":"https://api.liquidagent.ai/v1/chain/logs?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"abi":{"type":"array","maxItems":250,"description":"Optional event ABI used for decoding (max 128 KiB)"},"chain":{"enum":[8453,137,42161,10,43114],"type":"integer","description":"EVM chain ID"},"topics":{"type":"array","maxItems":4,"description":"Optional topic filters: 32-byte hashes, arrays of alternatives, or null"},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Contract address"},"toBlock":{"type":"string","description":"Last block, inclusive; at most 10,000 blocks in total"},"fromBlock":{"type":"string","description":"First block, inclusive"}}},"responseSchema":{"type":"json","example":{"logs":[{"decoded":true,"eventName":"Transfer"}],"chain":8453,"blockCount":"1"}},"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_pdtOMOAtAJ9v34-A9gvEc","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 and decodes EVM event logs for a contract over a block range using a caller-supplied ABI, with adaptive chunking and raw fallback for unknown events.","exampleAgentPrompt":"Fetch and decode all Transfer events from contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base (chain 8453) between blocks 15000000 and 15010000 — here's the ERC-20 ABI to use for decoding.","exampleUseCases":[{"title":"Audit ERC-20 transfers on Base","prompt":"Pull all Transfer events from the USDC contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base (chain 8453) from block 14000000 to 14010000 and decode them using the standard ERC-20 ABI."},{"title":"Monitor DeFi pool swaps on Polygon","prompt":"Get all Swap events from the Uniswap V3 pool at 0x45dDa9cb7c25131DF268515131f647d726f50608 on Polygon (chain 137) between blocks 52000000 and 52005000, using the Uniswap V3 pool ABI for decoding."},{"title":"Investigate contract events on Arbitrum","prompt":"Fetch the last 5,000 blocks of decoded logs from contract 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8 on Arbitrum (chain 42161) from block 170000000 to 170005000 — include any unknown events as raw fallback."}],"resultDescription":"Returns an array of decoded event log objects for the specified block range and contract, with each log containing the event name, decoded parameter values (typed), and raw log fields. Events not matched by the supplied ABI are returned in raw form. Results are chunked adaptively across the block range.","failureModes":["Invalid or unsupported chain ID returns an error","Block range exceeds 10,000 blocks limit","Malformed contract address format","ABI array exceeds 250 items or 128 KiB limit","No logs found for the given filters (empty result)","Invalid topic hash format","Network timeout or RPC failure on the target chain"],"whenToPreferThis":"Use this endpoint when you need decoded EVM event logs with a custom ABI across Base, Polygon, Arbitrum, Optimism, or Avalanche, especially when you want adaptive chunking and raw fallback for unrecognized events — ideal for agents that need structured, typed event data without managing their own RPC connections or block-range splitting logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:43:49.222Z","isFirstParty":false,"canonicalSlug":"liquid-agent-decoded-evm-event-logs-16d14228"}