{"uid":"cap_eVKmEiTGjr6ufitoQTw-Z","slug":"liquid-agent-multi-chain-evm-transaction-decoder-aea81214","name":"Liquid Agent Multi-Chain EVM Transaction Decoder","description":"Decode an EVM transaction and its event logs with a caller-supplied ABI. Base, Polygon, Arbitrum, Optimism or Avalanche. $0.003 per completed decode; unknown selectors retain raw data.","url":"https://api.liquidagent.ai/v1/gas/decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"abi":{"type":"array","maxItems":250,"description":"Contract ABI used to decode calldata and logs (max 128 KiB)"},"chain":{"enum":[8453,137,42161,10,43114],"type":"integer","description":"EVM chain ID"},"txHash":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$","description":"Transaction hash"}}},"responseSchema":{"type":"json","example":{"chain":8453,"decoded":true,"transaction":{"decoded":true,"functionName":"transferWithAuthorization"}}},"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_gCeGNVfzlsqE7J6tXVEfE","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":"Decodes an EVM transaction's calldata and event logs using a caller-supplied ABI across Base, Polygon, Arbitrum, Optimism, and Avalanche.","exampleAgentPrompt":"Can you decode this Base transaction 0x3a7f1c2b9d4e6f8a0b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a for me? Here's the ABI for the contract — use chain ID 8453 and tell me what function was called and what the event logs say.","exampleUseCases":[{"title":"Debug a failed DeFi swap","prompt":"I have a failed Uniswap transaction on Polygon — hash is 0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b. Here's the Uniswap v3 ABI. Use chain ID 137 and decode it so I can see exactly what parameters were passed and what events fired."},{"title":"Audit a contract call on Arbitrum","prompt":"Decode this Arbitrum transaction 0xabc123def456abc123def456abc123def456abc123def456abc123def456abc123 using chain ID 42161 and the ABI I'm providing — I need to verify which function was invoked and what arguments it received for a security audit."},{"title":"Monitor Optimism governance votes","prompt":"I need to understand what happened in this Optimism governance transaction 0xdeadbeefcafedeadbeefcafedeadbeefcafedeadbeefcafedeadbeefcafedeadb — chain ID 10. Use the governance contract ABI and decode the calldata and all emitted events so I can record the vote details."}],"resultDescription":"Returns a structured object containing the decoded function name and its named parameter values from the calldata, plus each event log decoded into its named fields. For any function selectors or event topics not present in the supplied ABI, the raw hex data is preserved rather than dropped.","failureModes":["Transaction hash not found on the specified chain — returns error indicating the tx is unknown or the wrong chain ID was supplied","ABI too large (over 128 KiB or 250 items) — request rejected with validation error","Transaction exists but no ABI entries match any selector — returns raw hex data with no decoded fields","Invalid transaction hash format — rejected by pattern validation","Unsupported chain ID — rejected; only 8453, 137, 42161, 10, and 43114 are accepted","Payment failure — $0.003 USDC not settled via x402, request blocked"],"whenToPreferThis":"Choose this endpoint when you need to decode a specific on-chain transaction and already have (or can supply) the contract ABI, and the chain is Base, Polygon, Arbitrum, Optimism, or Avalanche. It is purpose-built for agentic workflows that need human-readable calldata and event log interpretation without spinning up a full RPC node or indexer. Prefer it over generic block explorers when you need structured JSON output suitable for downstream processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T00:40:56.821Z","isFirstParty":false,"canonicalSlug":"liquid-agent-multi-chain-evm-transaction-decoder-aea81214"}