{"uid":"cap_lue3vUFuKRLiqAfSU5Z2h","slug":"avasis-ethereum-calldata-decoder-afffac77","name":"Avasis Ethereum Calldata Decoder","description":"Calldata decode on Ethereum (chain 1, $0.02): to + data (+ value, from) -> what the tx asks for: selector via the verified Sourcify ABI (proxy), our table, openchain / 4byte; args by name; nested multicall / Safe calls; Universal Router plan; flags: unlimited approve, setApprovalForAll, permit, delegatecall, admin, ETH value, no-code / unverified target, past deadline. Phrases: decode calldata, what does this transaction do, abi decode, unlimited approval. GET or POST. Never charged on 4xx/5xx.","url":"https://agents.avasis.ai/v1/eth/calldata-decode?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"],"type":"string"},"queryParams":{"type":"object","required":["to","data"],"properties":{"to":{"type":"string","description":"the transaction's target contract (tx.to) (0x + 40 hex)"},"data":{"type":"string","description":"the calldata (tx.data / input): 0x hex, at least the 4-byte selector, max 6 KB"},"from":{"type":"string","description":"optional signer address (0x + 40 hex): enables the recipient-not-sender and self-call checks"},"chain":{"type":"string","description":"optional; must be ethereum / 1 on this route"},"value":{"type":"string","description":"ETH value in wei sent with the call (decimal or 0x hex; default 0)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","verdict","call","target","value","tx","headline"],"properties":{"tx":{"type":"object"},"call":{"type":"object"},"kind":{"type":"string"},"rail":{"type":"string"},"chain":{"type":"string"},"value":{"type":"object"},"nested":{"type":["array","null"]},"target":{"type":"object"},"verdict":{"type":"object"},"chain_id":{"type":"integer"},"commands":{"type":["array","null"]},"headline":{"type":"string"},"block_number":{"type":"integer"},"also_available":{"type":"object"},"block_timestamp":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"tx":{"to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","from":"0xf977814e90da44bfa03b6295a0616a897441acec","value":"0","selector":"0x095ea7b3","data_bytes":68},"call":{"args":[{"name":"spender","type":"address","value":"0x000000000022d473030f116ddee9f6b43ac78ba3"},{"name":"value","type":"uint256","value":"115792089237316195423570985008687907853269984665640564039457584007913129639935"}],"kind":"approve","name":"approve","source":"sourcify","decoded":true,"selector":"0x095ea7b3","signature":"approve(address,uint256)","candidates":[{"source":"sourcify","verified":true,"signature":"approve(address,uint256)"},{"source":"local","verified":true,"signature":"approve(address,uint256)"}],"confidence":"verified-abi","args_by_name":{"value":"115792089237316195423570985008687907853269984665640564039457584007913129639935","spender":"0x000000000022d473030f116ddee9f6b43ac78ba3"},"trailing_bytes":0},"kind":"calldata-decode","rail":"evm-calldata-decode-1","chain":"ethereum","reads":{"rpc":"fixture","calls":4,"sourcify":"exact_match","elapsed_ms":5,"sigdb_lookups":0},"value":{"eth":"0","wei":"0","nonzero":false},"nested":null,"target":{"label":"USDC (Circle)","token":{"source":"table","symbol":"USDC","decimals":6},"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","sourcify":{"name":"FiatTokenProxy","proxy":{"type":"ZeppelinOSProxy","is_proxy":true,"implementation":"0x2ce6311ddae708829bc0784c967b7d77d19fd779","implementation_name":"FiatTokenV2_2","implementation_verified":"exact_match"},"verified":"exact_match","available":true,"abi_functions":3},"known_kind":"token","is_contract":true},"verdict":{"flags":[{"code":"APPROVE_UNLIMITED","text":"approve grants Uniswap Permit2 0x0000…8ba3 an UNLIMITED allowance of USDC: it can move every unit you hold now or later; approve the exact amount instead","severity":"high"},{"code":"PROXY_TARGET","text":"0x8335…2913 is a ZeppelinOSProxy proxy; the code that runs is FiatTokenV2_2 at 0x2ce6…d779 (exact_match)","severity":"info"}],"level":"HIGH","summary":"approve: let Uniswap Permit2 0x0000…8ba3 spend an UNLIMITED amount of USDC","flags_ok":["target has code","target verified on Sourcify (exact_match)","known: USDC (Circle)","decoded with the verified ABI","no ETH value"]},"chain_id":1,"commands":null,"headline":"HIGH on Base: approve: let Uniswap Permit2 0x0000…8ba3 spend an UNLIMITED amount of USDC (APPROVE_UNLIMITED)","block_number":53364734,"block_timestamp":1793518815}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4IeSYFO7fgYgXbv_Hz8Mw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes raw Ethereum transaction calldata into human-readable function calls, arguments, and risk flags including unlimited approvals, proxy targets, and nested multicall structures","exampleAgentPrompt":"Can you decode this Ethereum transaction for me — it's going to contract 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 with calldata 0x095ea7b3000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff — tell me what it does and whether it's risky?","exampleUseCases":[{"title":"Unlimited approval risk check","prompt":"Before I sign this transaction, can you decode the calldata and tell me if it's granting an unlimited token approval? The contract is 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 and the data is 0x095ea7b3000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff."},{"title":"Explain a Uniswap Universal Router swap","prompt":"What exactly does this Uniswap transaction do? It's calling 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD with this calldata: 0x3593564c... — decode it and show me the swap route and any flags I should know about."},{"title":"Audit a Safe multisig nested call","prompt":"I have a Safe multisig transaction going to 0xd9db270c1b5e3Bd161E8c8503c55cEABeE709552 with this calldata — can you decode all the nested calls inside and flag anything suspicious like delegatecalls or admin operations?"}],"resultDescription":"A JSON object containing: a human-readable headline summarizing the transaction, the decoded function name and named arguments with their values, risk verdict flags (e.g. APPROVE_UNLIMITED, PROXY_TARGET, DELEGATECALL, PERMIT, SET_APPROVAL_FOR_ALL, PAST_DEADLINE, NO_CODE_TARGET), information about the target contract (label, token metadata, proxy chain), ETH value details, nested/multicall sub-calls if present, Universal Router command plan if applicable, ABI resolution source (Sourcify, local table, 4byte/openchain), and confidence level of the decoding.","failureModes":["Invalid or malformed calldata hex returns 4xx (not charged)","Unknown 4-byte selector with no ABI match returns partial result with low confidence","Contract not deployed or no-code target flagged in verdict","Chain parameter set to non-Ethereum value returns error (route only supports chain 1)","Calldata exceeding 6 KB limit rejected","Malformed contract address (not 0x + 40 hex) returns 4xx","RPC or Sourcify lookup timeout may degrade confidence but still returns best-effort result"],"whenToPreferThis":"Use this endpoint when you need to decode and explain Ethereum mainnet transaction calldata with security risk analysis — especially for detecting unlimited token approvals, proxy contract structures, nested multicalls, Uniswap Universal Router plans, or delegatecall patterns. It combines Sourcify verified ABI resolution, a curated local selector table, and openchain/4byte fallback, making it more accurate than raw ABI decoding tools. Prefer it when a human needs a plain-language verdict before signing a transaction, or when an agent is auditing transactions for risky patterns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:38:50.306Z","isFirstParty":false,"canonicalSlug":"avasis-ethereum-calldata-decoder-afffac77"}