Units and Networks
FluxA supports three payment networks. For full protocol details, see x402 Protocol.
| Network | Currency | Asset | Amount Unit |
|---|---|---|---|
base | USDC | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 | 6 decimals (1000000 = 1.0 USDC) |
fluxa-monetize-credits | FLUXA_MONETIZE_CREDITS | fluxa-monetize-credit | 2 decimals (100 = 1.0 Credit) |
xrpl-mainnet | XRP | XRP | drops (1000000 = 1.0 XRP) |
- EVM (Base): Base Mainnet by default (
network = "base"). Base Sepolia is available for tests. Only the canonical USDC contract for each network is accepted. - Credits: Off-chain balance system. Amounts are integer strings in minor units (2 decimals).
- XRP: Native XRP on the XRP Ledger. Amounts are in drops (integer strings, 6 decimal equivalent). Available only where XRP is enabled for the wallet.
- CARD_USD (Beta): card mandates only; amounts in cents (2 decimals,
12000= $120.00).
In x402 accepts entries FluxA reports Base as CAIP-2 eip155:8453 (Base Sepolia eip155:84532); request bodies accept either base or the CAIP-2 form.
All amounts are integer strings in smallest units. Example: "1000000" = 1.0 USDC = 1.0 XRP.
