Rails and networks
Why one mandate spans stablecoins and cards, how networks are named, and how Abazi picks one network for each payment from the mandate's order, funds and facilitator health.
The full matrix
Abazi pays on 3 rails across 6 networks in 3 assets. Every rail, network and asset, with how each one signs, settles and issues a receipt, is on Supported rails. This page explains the model behind it.
Who needs it
Agent developers, who want one call regardless of how the merchant is paid. Owners, who choose in the mandate which rails and networks are allowed and in what order. Merchants, who need to know which assets and networks agents can pay on.
One mandate, every rail
Rail switcher
What changes when the rail changes, and what does not?
- Mandatefixed
- Policy enginefixed
- Budgetfixed
- Signerfixed
- x402 adapterswapped
- Ledgerfixed
- Receiptfixed
x402 USDC · networks
- Solana
- Base
- Polygon
- Avalanche
- Who signs
- Abazi's signer builds and signs the x402 payment. On Solana it spends as the capped delegate of the owner's account; on EVM networks it signs a transfer authorization from the agent's spending wallet, so no gas is needed.
- Where the money sits
- On Solana, in the owner's own USDC account; Abazi can spend only up to the capped delegation the owner can remove. On EVM networks, in a small per-agent spending wallet the owner funds and can sweep back.
- How it settles
- The paid retry carries the payment to the merchant, whose x402 facilitator verifies and settles it on chain. Abazi then confirms the transfer on the network.
- What the merchant sees
- A standard 402 response with payment requirements, then a paid request.
Stays the same on every rail: the mandate, the policy decision and its reason codes, the budget reservation, the signer's recheck, the ledger postings and the receipt.
Text description
Every payment runs through the same core: mandate, policy engine, budget, signer, ledger and receipt. Only the rail adapter changes with the rail.
x402 USDC
- Networks: Solana, Base, Polygon, Avalanche.
- Who signs: Abazi's signer builds and signs the x402 payment. On Solana it spends as the capped delegate of the owner's account; on EVM networks it signs a transfer authorization from the agent's spending wallet, so no gas is needed.
- Where the money sits: On Solana, in the owner's own USDC account; Abazi can spend only up to the capped delegation the owner can remove. On EVM networks, in a small per-agent spending wallet the owner funds and can sweep back.
- How it settles: The paid retry carries the payment to the merchant, whose x402 facilitator verifies and settles it on chain. Abazi then confirms the transfer on the network.
- What the merchant sees: A standard 402 response with payment requirements, then a paid request.
Direct USDT
- Networks: Ethereum, Tron.
- Who signs: Abazi's signer, through wallets built on Tether's Wallet Development Kit. The wallet seed stays inside the signer zone.
- Where the money sits: In a small per-agent spending wallet that Abazi's signer holds, funded by the owner and sweepable back to the owner.
- How it settles: A direct USDT transfer to the merchant's payout address; gas is paid in the network's native coin. After the transfer is final, Abazi calls the merchant with the transaction reference to collect the resource.
- What the merchant sees: A USDT transfer to its listed payout address, then a request that names the transaction.
Virtual card
- Networks: Card networks (Lithic).
- Who signs: Nothing is signed on chain. Abazi hands the card number to the merchant's checkout server to server; the card processor then asks Abazi to approve, decline or challenge the authorization.
- Where the money sits: In the card program at the card issuer, Lithic. The card number never reaches the agent.
- How it settles: Authorization, then clearing by the card processor. A challenged authorization waits for a person's approval and is retried.
- What the merchant sees: An ordinary card payment from a per-agent virtual card.
A rail is a way of paying: stablecoins over x402, a direct USDT transfer, or a virtual card. Rails differ in who asks for the money, how a payment is signed and how settlement is confirmed. They do not differ in the rules.
Every rail plugs into the same core through one adapter with five operations: quote, authorize, execute, confirm and refund. The mandate, the policy engine, the budgets, the ledger and the receipts do not change from rail to rail. That is why one mandate can govern a USDC payment on Solana, a USDT transfer on Tron and a card authorization at a checkout: the owner signs one set of limits, and every rail reports into the same budget and the same receipt chain. Adding a rail adds an adapter, not a second core. See Rail adapters.
Abazi pays x402 version 2, exact scheme. A merchant that answers in the version 1 format is not paid.
How networks are named
Inside Abazi, in mandates, 402 responses, decision traces and receipts, a network is identified by its CAIP-2 chain id, not by a display name:
| Family | CAIP-2 form |
|---|---|
| Solana | solana: followed by the network's genesis hash prefix |
| Base, Polygon, Avalanche, Ethereum | eip155: followed by the EVM chain id |
| Tron | tron: followed by the network name |
A CAIP-2 id names exactly one chain, so a mandate that allows a network cannot be satisfied by a different chain with a similar name. The receipt records the same id inside its signature. The exact ids for the current environment are on Environments.
How one network is chosen
For x402, the candidate networks come from the merchant's live 402 response. For direct USDT, they come from the Catalog. Then:
If no network qualifies, policy step 4b denies the purchase with NO_FUNDED_CHAIN, or with DELEGATION_MISSING when Solana was the only candidate and the permission was the problem.
Facilitator health and failover
x402 payments settle through a facilitator. Abazi keeps an ordered list of facilitators for each network, probes them on a schedule, and treats a network as healthy while at least one of its facilitators answers well. A facilitator that fails three times in a row is skipped for a minute. Abazi fails over to the next facilitator only when nothing was sent; a settlement that may have left is reconciled, never resent. The details are on Rail adapters.
Cards
A virtual card follows the same intent, policy and budget. The difference is direction: the merchant's checkout asks the card network for an authorization, and the card issuer asks Abazi. Abazi matches the authorization to an intent and its amount, and answers approve, decline or challenge. A challenge sends the purchase to a person, as with any approval. Card amounts use their own limits: a hard cap of 25.00 USD per authorization and an auto-approve limit of 5.00 USD in the example mandate. See Cards.
Boundary
- The agent never picks a network, an asset or a payee. It names a service or a URL; the rest comes from the 402 response and the Catalog.
- The Catalog wins. A 402 that lists a network, an asset, an amount or a payout address the Catalog does not is denied at policy step 2.
- Where the money sits depends on the network. On Solana it stays in the owner's account behind a capped delegation; on EVM networks and Tron it sits in the agent's spending wallet. See Custody and keys.
Example
One merchant, two networks, one empty wallet. A merchant accepts Base and Tron, and the mandate allows both with Base first. The agent's Base wallet is empty; its Tron wallet is funded. The trace reads "Base: spending wallet balance too low", then "Tron: eligible", and the payment settles on Tron. The receipt names Tron's CAIP-2 id as the network.
Failure cases
| Case | Result |
|---|---|
| No facilitator is healthy on any allowed x402 network | DENY NO_FUNDED_CHAIN, with "facilitator unhealthy" in the trace. |
| The facilitator rejects before broadcast | The intent fails and the reservation is released. |
| No answer after signing | The intent goes to reconciliation. It is never signed twice. |
| The 402 lists a network the Catalog does not | DENY NETWORK_MISMATCH. |
| A card authorization matches no intent | Declined with CARD_NO_MATCHING_INTENT. |
| A card authorization is for a different amount | Declined with CARD_AMOUNT_MISMATCH. |
How to verify
- Each payment's detail page shows the network trace and a link to the settlement on the network's explorer.
- The receipt records the rail, the network, the asset and the settlement reference, inside its signature.
Next steps
Custody and keys
Where the money sits on each network, who holds which key, which part of Abazi may sign, and how the owner withdraws Abazi's permission.
Receipts and proof
How an Abazi receipt is built, signed, chained and anchored on Solana, and the four checks anyone can run on one without an account.