crypto · crypto · evm · ethereum · calldata · abi · decode

Calldata decoder

Decode Ethereum or EVM ABI calldata arguments using a supplied Solidity function signature.

$0.01 USDCBasex402 v2POST

Endpoint

https://apiacre.com/v1/crypto/calldata-decode

Send the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.

Input example

{
  "function_signature": "transfer(address,uint256)",
  "calldata": "0x0000000000000000000000001111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000002a"
}

Response shape

{
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "crypto.calldata-decode",
  "version": "1",
  "data": {
    "function": "example",
    "signature": "example",
    "selector": "example",
    "selectorPresent": true,
    "types": [],
    "values": []
  },
  "meta": {
    "duration_ms": 42,
    "cached": false,
    "sources": [],
    "warnings": []
  }
}

Try the payment challenge

curl -i -X POST 'https://apiacre.com/v1/crypto/calldata-decode' \
  -H 'content-type: application/json' \
  --data '{"function_signature":"transfer(address,uint256)","calldata":"0x0000000000000000000000001111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000002a"}'