Amounts and currencies
Why amounts are integer base units carried as strings, which assets and networks appear, and how card amounts differ.
View as .mdUpdated
Amounts are integers in the asset's smallest unit, sent as strings, so no float ever rounds a payment. USDC and USDT have six decimals:
"50000" is 0.05. Card amounts are US dollars in cents.| Field | Meaning | Example |
|---|---|---|
amount_base_units and other *_base_units | Amount in base units, as a string | "50000" = 0.05 USDC |
asset | USDC or USDT; USD for card amounts | "USDC" |
network | CAIP-2 network id | "eip155:<chain-id>" for an EVM network, "solana:<genesis-hash>" for Solana |
rail | x402, wdk (direct USDT) or card | "x402" |
amount_cents | Card amounts in cents | 10 is ten cents |
Assets
| Asset | Issuer | Rail | Networks | How it is used |
|---|---|---|---|---|
| USDC USD Coin | Circle | Stablecoins over x402 | Solana, Base, Polygon, Avalanche | Paid per request over x402. On Solana it never leaves the owner's wallet until the moment of payment. |
| USDT Tether USD | Tether | Direct USDT | Ethereum, Tron | Sent directly to the merchant's payout address from a per-agent wallet built on Tether WDK. |
| USD US dollar | Card issuing | Virtual cards | Card networks | Spent on a per-agent virtual card. Every authorization is decided by the same policy engine. |
USDC moves over x402 on Solana, Base, Polygon and Avalanche. USDT moves as a direct transfer on Ethereum and Tron. The exact CAIP-2 ids of the current environment are on Environments. See Supported rails for how each rail settles.