{
  "x402Version": 2,
  "id": 2575,
  "slug": "2575",
  "resource": "https://apiacre.com/v1/crypto/calldata-decode",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "calldata": "0xa9059cbb0000000000000000000000001111111111111111111111111111111111111111000...",
            "input_mode": "auto"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "arguments": [
                {
                  "index": 0,
                  "type": "address",
                  "value": "0x1111111111111111111111111111111111111111"
                }
              ],
              "canonicalSignature": "transfer(address,uint256)",
              "encoding": {
                "argumentBytes": 64,
                "argumentsSha256": "d3458da251349437abe3549042a49868dc5528422a63bb815f3e0b46725052c9",
                "calldataBytes": 68,
                "calldataSha256": "f77b5da6ef3efa41f5084d653dc4a135a3978d541db97ce13225bd442b025198",
                "canonical": true
              },
              "function": "transfer",
              "inputMode": "selector_and_arguments",
              "resolution": {
                "candidateCount": 1,
                "candidates": [
                  "transfer(address,uint256)"
                ],
                "matchedStandards": [
                  "ERC-20"
                ],
                "method": "built_in_standard",
                "signatureProvided": false
              },
              "selector": "0xa9059cbb",
              "selectorPresent": true,
              "signature": "transfer(address,uint256)",
              "signatureSource": "built_in_standard",
              "types": [
                "address",
                "uint256"
              ],
              "values": [
                "0x1111111111111111111111111111111111111111",
                42
              ],
              "warnings": [
                "Selector resolution is limited to 29 published standard signatures; four-byte..."
              ]
            },
            "meta": {
              "cached": false,
              "duration_ms": 42,
              "next_actions": [],
              "sources": [],
              "warnings": []
            },
            "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
            "service": "crypto.calldata-decode",
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "calldata": {
                    "type": "string"
                  },
                  "function_signature": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "input_mode": {
                    "enum": [
                      "auto",
                      "selector_and_arguments",
                      "arguments_only"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "calldata"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "arguments": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "canonicalSignature": {
                        "type": "string"
                      },
                      "encoding": {
                        "type": "object"
                      },
                      "function": {
                        "type": "string"
                      },
                      "inputMode": {
                        "type": "string"
                      },
                      "resolution": {
                        "type": "object"
                      },
                      "selector": {
                        "type": "string"
                      },
                      "selectorPresent": {
                        "type": "boolean"
                      },
                      "signature": {
                        "type": "string"
                      },
                      "signatureSource": {
                        "type": "string"
                      },
                      "types": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "values": {
                        "items": {},
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "cached": {
                        "type": "boolean"
                      },
                      "duration_ms": {
                        "type": "integer"
                      },
                      "next_actions": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "sources": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "warnings": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "required": [
                      "duration_ms",
                      "cached",
                      "sources",
                      "warnings",
                      "next_actions"
                    ],
                    "type": "object"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "service": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "request_id",
                  "service",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "apiacre.com",
  "lastUpdated": "2026-09-01T12:52:20.978Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-01T12:52:20.74Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "apiacre.com",
    "manifest_name": "apiacre.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}