x402
utility

Scale raw token units by decimals into human-readable amounts. Call when rendering balances or logs that store raw integer token units. Returns human amount plus raw and decimals 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/token-raw-to-amount

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/token-raw-to-amount
  • Auth: none declared

Request body

rawstring required

Input field: raw.

decimalsinteger required

Input field: decimals.

Response

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

schemastring
rawstring
decimalsinteger
amountnumber

Changes

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