{"uid":"cap_9w5N17MaKTNpii9Gi5C-k","slug":"avasis-calldata-decode-base-9e02b15d","name":"Avasis Calldata Decode (Base)","description":"Calldata decode on Base (chain 8453, $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/base/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 base / 8453 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":"base","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":8453,"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_5pMr5Q26rpNdthxAhcTkB","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 EVM transaction calldata on Base (chain 8453), resolves function names and arguments, detects security flags like unlimited approvals, proxy targets, and delegatecalls","exampleAgentPrompt":"Can you decode this Base transaction calldata for me and flag anything risky — the target contract is 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 and the calldata is 0x095ea7b3000000000022d473030f116ddee9f6b43ac78ba3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff","exampleUseCases":[{"title":"Unlimited approval safety 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 on Base."},{"title":"Uniswap Universal Router plan decode","prompt":"What is this Uniswap Universal Router transaction actually doing? Please decode it step by step — target is 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD on Base and the calldata starts with 0x3593564c..."},{"title":"Safe multisig nested call inspection","prompt":"I have a Safe multisig transaction on Base I need to understand — can you decode the calldata 0x6a761202... sent to 0x...safe address and break down all the nested calls it's making, including any dangerous flags like delegatecall or admin operations?"}],"resultDescription":"A JSON object containing: a human-readable headline summarizing the transaction, the decoded function name and arguments (by name and type), the target contract label and token info, security verdict with severity-tagged flags (e.g. APPROVE_UNLIMITED, PROXY_TARGET, DELEGATECALL, PERMIT, SET_APPROVAL_FOR_ALL, NO_CODE), nested/multicall sub-calls, Universal Router command plans, ETH value details, and the ABI source used (Sourcify, local table, or 4byte/openchain).","failureModes":["Unknown selector: returns unrecognized selector if no ABI match found in Sourcify, local table, or 4byte/openchain","Calldata too short: returns 4xx if data is less than 4 bytes","Calldata too large: returns 4xx if data exceeds 6 KB","Invalid address format: returns 4xx if 'to' or 'from' is not valid 0x hex","Wrong chain: returns 4xx if chain param is not base/8453","RPC unavailable: returns 5xx if Base RPC is unreachable (not charged)","Unverified contract: succeeds but flags NO_CODE or unverified target in verdict"],"whenToPreferThis":"Use this endpoint when you need to interpret or audit EVM transaction calldata specifically on Base (chain 8453), especially when security analysis matters — it goes beyond raw ABI decoding by detecting unlimited approvals, proxy structures, delegatecalls, permit signatures, multicall nesting, and Universal Router plans in a single call. Prefer it over generic ABI decoders when you need named arguments, proxy resolution via Sourcify, and a human-readable security verdict with severity flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:51:42.477Z","isFirstParty":false,"canonicalSlug":"avasis-calldata-decode-base-9e02b15d"}