Convert between wei and ether using fixed 1e18 scaling without RPC — call when c
Convert between wei and ether using fixed 1e18 scaling without RPC — call when converting wei↔ether with fixed 1e18 scaling. Use for chain input hygiene without live RPC—adjacent to OneSource-class small chain reads, but static/local only so rights and margin stay clear. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web searc…
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.delx.ai/api/v1/x402/wei-ether-convert
| Category | Code and developer |
|---|---|
| Provider host | api.delx.ai |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.003 | 1271 ms |
Example input (from the provider)
{
"body": {
"amount": 1000000000000000000,
"direction": "wei_to_ether"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": true,
"properties": {
"amount": {
"description": "Numeric amount to convert (wei count or ether units depending on direction).",
"type": "number"
},
"direction": {
"description": "wei_to_ether or ether_to_wei.",
"type": "string"
}
},
"required": [
"amount"
],
"type": "object"
},
"bodyType": {
"const": "json",
"type": "string"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"description": "Bounded first-party JSON result; input is processed in memory and not retained.",
"properties": {
"amount": {
"type": "number"
},
"direction": {
"type": "string"
},
"ether": {
"type": "number"
},
"schema": {
"type": "string"
},
"wei": {
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}