{"uid":"cap_1sK19aYdslAXtE3ojHqS-","slug":"abi-decode-hex-data-c735ab54","name":"ABI Decode Hex Data","description":"ABI-decode hex data given an ordered list of solidity types. Returns the decoded values. For agents parsing calldata, return values and event payloads. abi decode, decode calldata, parse return data, solidity types, evm","url":"https://api.x402node.dev/crypto/abi-decode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"0x-prefixed hex data to decode (required)"},"types":{"type":"string","description":"JSON array of solidity types (required)"}}},"responseSchema":null,"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_UndhUqRS1TBz9JbbSMfcf","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 ABI-encoded hex data into typed Solidity values given an ordered list of Solidity types","exampleAgentPrompt":"Decode this ABI-encoded hex blob for me — the types are (address, uint256, bool) in that order: 0x000000000000000000000000ab5801a7d398351b8be11c439e05c5b3259aec9b0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000001","exampleUseCases":null,"resultDescription":"Returns the decoded values as typed primitives (e.g. address strings, uint256 integers, booleans, bytes arrays) corresponding to each Solidity type provided, making raw hex calldata, return data, or event payloads human- and agent-readable.","failureModes":["Invalid or malformed hex input — returns error indicating unparseable data","Type list length does not match encoded data structure — decoding fails or produces incorrect values","Unsupported Solidity type supplied — returns error for unrecognized type keyword","Missing required fields (hex data or type list) — returns 400 bad request","Payment not included or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to programmatically decode ABI-encoded hex blobs from EVM chains — such as transaction calldata, smart contract return values, or event log data — and you need typed output back. Prefer this over manual decoding libraries when running in an agent context without a local Ethereum toolchain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:57.183Z","isFirstParty":false}