crypto

Calldata decoder

Resolve 29 common ERC-20, ERC-165, ERC-721, ERC-1155, ERC-2612, and ERC-3009 selectors without a network lookup, or strictly decode arbitrary Ethereum or EVM calldata using a supplied Solidity signature.

Price: $0.001 USDC via x402 exact payment on Base and Solana.

post/v1/crypto/calldata-decode

Request

  • Base URL: https://apiacre.com
  • URL: https://apiacre.com/v1/crypto/calldata-decode
  • Auth: none required

Request body

function_signaturestring nullable

Optional Solidity function signature, including argument types but no parameter names. When omitted, calldata must include a selector from the bounded built-in ERC-20, ERC-165, ERC-721, ERC-1155, ERC-2612, or ERC-3009 set.

calldatastring required

ABI argument bytes, optionally prefixed by the four-byte function selector

input_mode'auto' | 'selector_and_arguments' | 'arguments_only'

Whether calldata includes a selector. Auto consumes a matching supplied-signature selector, or resolves a built-in standard selector when function_signature is omitted.

Example request

{
  "function_signature": "transfer(address,uint256)"
}

Response

Successful Response

request_idstring required
servicestring required
versionstring
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.