Api Endpoint

Ether to Wei Converter

Scale ether amounts into wei integer strings for transfers and tx value. Call when preparing value fields, allowances, or transfers denominated in ETH. Returns wei integer string and eth input as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

Open interactive test console

Offering

Provider
api.delx.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.delx.ai/api/v1/x402/eth-to-wei
MIME type
application/json
First seen
2026-10-16T01:51:10.599Z
Last seen
Tags
X402, Agents, local-first, micro-usdc, pay-per-call

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
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG"
  }
]

Observed health

Status
Healthy
Latest latency
323 ms
Average latency
488 ms
HTTP status
204
Last checked
Reachability
100% over 7 checks

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

Input schema

{
  "properties": {
    "body": {
      "additionalProperties": true,
      "properties": {
        "eth": {
          "description": "Input field: eth.",
          "type": "number"
        }
      },
      "required": [
        "eth"
      ],
      "type": "object"
    },
    "bodyType": {
      "const": "json",
      "type": "string"
    },
    "method": {
      "const": "POST",
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "body": {
          "additionalProperties": true,
          "properties": {
            "eth": {
              "description": "Input field: eth.",
              "type": "number"
            }
          },
          "required": [
            "eth"
          ],
          "type": "object"
        },
        "bodyType": {
          "const": "json",
          "type": "string"
        },
        "method": {
          "const": "POST",
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "additionalProperties": true,
      "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
      "properties": {
        "eth": {
          "type": "number"
        },
        "schema": {
          "type": "string"
        },
        "wei": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "input",
    "output"
  ],
  "type": "object"
}