# Delx Commerce — Wei to ETH Converter

> Delx Commerce — Wei to ETH Converter is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Converts a wei amount (as a string) to its equivalent ETH value as a decimal number

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/wei-to-eth?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-wei-to-eth-converter-b1bc734a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b7yRZrmC5TtoWh0_vh7X_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-wei-to-eth-converter-b1bc734a -d '<json body>'
```

Example prompt: Convert 50000000000000000 wei to ETH so I can display it as a readable ether amount.

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call, no-signup wei-to-ETH unit conversion with verifiable delivery over x402. Ideal for AI agents that handle raw Ethereum data and need to present human-readable ETH values without implementing conversion logic themselves. Prefer this over building your own conversion when you want auditable, on-chain-payable micro-transactions for utility calls.

## Known failure modes

- Invalid or non-numeric wei string causes a parsing error
- Missing 'wei' field in request body returns a validation error
- Extremely large wei values may lose float precision in the ETH output
- Non-string wei input (e.g. integer) may be rejected depending on schema validation

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the ETH decimal equivalent (e.g. 0.05), the original wei value echoed back as a string, and a schema identifier ('delx/util-wei-to-eth/v1') for result verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "wei": {
   "type": "string",
   "description": "Input field: wei."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "eth": 0.05,
  "wei": "50000000000000000",
  "schema": "delx/util-wei-to-eth/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-wei-to-eth-converter-b1bc734a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
