x402
utility

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.

post/api/v1/x402/eth-to-wei

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/eth-to-wei
  • Auth: none declared

Request body

ethnumber required

Input field: eth.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
ethnumber
weistring

Changes

No recorded changes to this operation across all 1 revision of this API.