{"uid":"cap_85jyC-c4k_IE1SHpIY6Vm","slug":"logicnodes-evm-log-decode-c7e2bb1e","name":"LogicNodes EVM Log Decode","description":"Exact answers for AI agents: 40+ tools for EVM chains and Aptos, gas on 14 chains, never a guess. Free tier; pay per call in USDC (x402) on 13 networks.","url":"https://logicnodes.io/paid/v1/tools/evm_log_decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"abi":{"type":"array","items":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"string","maxLength":1000}]},"maxItems":500,"minItems":1,"description":"JSON ABI objects, or human-readable signatures such as \"function transfer(address to, uint256 amount)\""},"data":{"type":"string"},"topics":{"type":"array","items":{"type":"string"},"maxItems":4,"minItems":1}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"evm_log_decode"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MgxkPyQ755k8xlf87OWob","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a raw EVM event log into human-readable fields using a provided ABI and log topics/data","exampleAgentPrompt":"Decode this raw EVM log for me — here's the ABI with the Transfer event signature, the data field is 0x000...0064, and the topics are [0xddf252..., 0x000...abc, 0x000...def]. What event was emitted and what are the decoded parameter values?","exampleUseCases":[{"title":"Decode ERC-20 Transfer event","prompt":"I have a raw log from a transaction receipt — the topic is the Transfer(address,address,uint256) keccak hash, the data is a hex value, and I have the ERC-20 ABI. Can you decode it so I can see who sent tokens to whom and how many?"},{"title":"Parse Uniswap swap event for DeFi analytics","prompt":"I'm analyzing a Uniswap V2 swap transaction. Here's the raw log with topics and data from the receipt, and here's the Swap event ABI. Decode it so I can see the amounts in and out."},{"title":"Audit NFT mint event on-chain","prompt":"I need to verify what happened in this NFT contract log — I have the Mint event ABI as a human-readable signature like 'event Mint(address to, uint256 tokenId)', plus the raw topics and data from the log. Decode it for me."}],"resultDescription":"A JSON object with ok:true and the decoded event name, along with the named parameters and their typed values extracted from the raw log topics and data fields.","failureModes":["ABI does not match the log topic selector — returns error indicating no matching event","Malformed hex in topics or data — returns parsing error","topics array length mismatch for indexed parameters — decoding fails","ABI array is empty or missing required event definition — validation error","Payment not provided or insufficient USDC — 402 response before processing"],"whenToPreferThis":"Use this endpoint when you have a raw EVM log (topics + data) from a transaction receipt and need to decode it into human-readable fields without running your own Ethereum node or indexer. Ideal for agents processing on-chain events programmatically, auditing smart contract activity, or building DeFi analytics pipelines. Prefer this over general-purpose RPC nodes that don't offer ABI-based decoding, and over block explorers when you need machine-readable decoded output rather than a web UI.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:42:39.054Z","isFirstParty":false,"canonicalSlug":"logicnodes-evm-log-decode-c7e2bb1e"}