Api Endpoint

vAPI EVM encoder

Build the calldata for one contract function from its ABI or a human-readable signature and JSON arguments. Integers may be decimal strings.

Open interactive test console

Offering

Provider
api.vapinetwork.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.vapinetwork.ai/native/evm/encode-call
MIME type
Not provided
First seen
2026-11-13T17:12:01.856Z
Last seen
Tags
None supplied

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
138 ms
Average latency
144 ms
HTTP status
204
Last checked
Reachability
100% over 6 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "abi": {
          "items": {
            "additionalProperties": {},
            "properties": {
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          "maxItems": 500,
          "minItems": 1,
          "type": "array"
        },
        "args": {
          "default": [],
          "items": {},
          "maxItems": 64,
          "type": "array"
        },
        "functionName": {
          "maxLength": 200,
          "minLength": 1,
          "type": "string"
        },
        "signature": {
          "maxLength": 2000,
          "minLength": 3,
          "type": "string"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "type": {
      "const": "json",
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}