Skip to content
Fourohtwo

Exact, bigint-safe conversion between human and atomic units

coinlight-app.vercel.app/p/units-convert

Exact, bigint-safe conversion between human and atomic units: SOL<->lamports, ETH<->gwei<->wei, USDC<->atomic (6 decimals) or any decimals.

SolanaAnswering
GEThttps://coinlight-app.vercel.app/p/units-convert

Uptime100% of 4 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://coinlight-app.vercel.app/p/units-convert?from=sol&amount=example&decimals=example"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "from": "sol",
  "amount": "example",
  "decimals": "example"
}

More from CoinlightProvider status