# Delx Commerce — ETH to Wei Converter

> Delx Commerce — ETH to Wei 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 an ETH amount (as a decimal number) to its equivalent Wei value (as a string integer).

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/eth-to-wei?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-eth-to-wei-converter-ea4510da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qQ0dOLI_M8GLyBxOvH2gk

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-eth-to-wei-converter-ea4510da -d '<json body>'
```

Example prompt: How many wei is 0.05 ETH? Use the Delx ETH-to-wei converter to get the exact integer value.

## When to prefer this

Use this endpoint when an AI agent or automated workflow needs a precise, API-verified ETH-to-wei conversion without implementing the 10^18 multiplication in-process — especially useful when precision and verifiability matter, or when the agent is already operating within the Delx pay-per-result API ecosystem using x402 payments.

## Known failure modes

- Missing or invalid 'eth' field returns an error response
- Non-numeric input for 'eth' causes a validation failure
- Extremely large ETH values may cause precision issues
- Payment failure (x402) prevents endpoint access

## 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 with the original ETH value, the computed Wei value as a string integer (to preserve precision), and a schema identifier ('delx/util-eth-to-wei/v1'). For example, 0.05 ETH yields '50000000000000000' wei.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "eth": {
   "type": "number",
   "description": "Input field: eth."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-eth-to-wei-converter-ea4510da/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)
