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. 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.

Released under the MIT License.