Skip to content

Units and Networks

FluxA supports three payment networks. For full protocol details, see x402 Protocol.

NetworkCurrencyAssetAmount Unit
baseUSDC0x833589fCD6eDb6E08f4c7C32D4f71b54bdA029136 decimals (1000000 = 1.0 USDC)
fluxa-monetize-creditsFLUXA_MONETIZE_CREDITSfluxa-monetize-credit2 decimals (100 = 1.0 Credit)
xrpl-mainnetXRPXRPdrops (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.

Released under the MIT License.