{"slug":"api-delx-ai-api-v1-x402-wei-ether-convert-63810c","title":"Convert between wei and ether using fixed 1e18 scaling without RPC — call when c","host":"api.delx.ai","method":"POST","resource":"https://api.delx.ai/api/v1/x402/wei-ether-convert","category":"code","description":"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 machin","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1271,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"amount":1000000000000000000,"direction":"wei_to_ether"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1271,"error":null}],"description_full":"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…","last_updated":"2026-09-19T16:00:51.836Z","schemes":["exact"]}