Api Endpoint

x402 Forge

How do I encode this Solidity function call as calldata, or decode calldata back? EVM function call encoder and decoder: Turns a Solidity function signature and its arguments into transaction calldata, or reads calldata back into the arguments. $0.001 per call in USDC, charged only on a 2xx answer. Try it free: https://forge.fizzl.eu/try/evm-abi-codec. Signed receipt. Own this tool for $1.00 and earn from every call: https://forge.fizzl.eu/forge/packages/evm-abi-codec.

Open interactive test console

Offering

Provider
forge.fizzl.eu
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://forge.fizzl.eu/p/evm-abi-codec
MIME type
application/json
First seen
2026-11-21T18:43:52.182Z
Last seen
Tags
Onchain, x402-forge, EVM, ABI, calldata

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x1f6f7a67336F4bC31556475999417def2b311680"
  }
]

Observed health

Status
Healthy
Latest latency
127 ms
Average latency
106 ms
HTTP status
402
Last checked
Reachability
100% over 4 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "operation": {
          "type": "string",
          "enum": [
            "encode",
            "decode"
          ],
          "description": "encode: signature + args -> calldata; decode: signature + data -> args"
        },
        "signature": {
          "type": "string",
          "maxLength": 1000,
          "description": "Function signature such as transfer(address,uint256) or swap((address,uint256)[],bytes); optional 'function' prefix, parameter names (at most 64 characters, like the function name; longer gives name_too_long), memory/calldata, 'address payable' (encoded as address) and a trailing view/returns(...) are accepted and ignored; a Solidity keyword as the function name gives invalid_signature. Tuples as (..) or tuple(..); uint/int mean uint256/int256."
        },
        "args": {
          "type": "string",
          "maxLength": 8000,
          "description": "encode only: JSON array with one value per parameter. Integers as decimal strings, 0x hex strings or JSON integers up to 2^53-1; address as 0x + 40 hex (EIP-55 checked when mixed case); bool as true/false; bytes and bytesN as hex (0x optional); string as a JSON string; arrays and tuples as JSON arrays. Defaults to []."
        },
        "data": {
          "type": "string",
          "maxLength": 16386,
          "description": "decode only: calldata hex starting with 0x (selector + ABI-encoded arguments), at most 8192 bytes"
        }
      },
      "required": [
        "operation",
        "signature"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "operation": {
              "type": "string",
              "enum": [
                "encode",
                "decode"
              ],
              "description": "encode: signature + args -> calldata; decode: signature + data -> args"
            },
            "signature": {
              "type": "string",
              "maxLength": 1000,
              "description": "Function signature such as transfer(address,uint256) or swap((address,uint256)[],bytes); optional 'function' prefix, parameter names (at most 64 characters, like the function name; longer gives name_too_long), memory/calldata, 'address payable' (encoded as address) and a trailing view/returns(...) are accepted and ignored; a Solidity keyword as the function name gives invalid_signature. Tuples as (..) or tuple(..); uint/int mean uint256/int256."
            },
            "args": {
              "type": "string",
              "maxLength": 8000,
              "description": "encode only: JSON array with one value per parameter. Integers as decimal strings, 0x hex strings or JSON integers up to 2^53-1; address as 0x + 40 hex (EIP-55 checked when mixed case); bool as true/false; bytes and bytesN as hex (0x optional); string as a JSON string; arrays and tuples as JSON arrays. Defaults to []."
            },
            "data": {
              "type": "string",
              "maxLength": 16386,
              "description": "decode only: calldata hex starting with 0x (selector + ABI-encoded arguments), at most 8192 bytes"
            }
          },
          "required": [
            "operation",
            "signature"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}