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. The backend enforces an allowlisted USDC contract per network. - 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).
All amounts are integer strings in smallest units. Example: "1000000" = 1.0 USDC = 1.0 XRP.
