Skip to main content
Ace Data Cloud X402 currently settles around USDC and supports two types of chains: EVM and Solana. Different networks have different signing methods, asset addresses, gas behavior, and applicable scenarios, so you need to choose the network before integration.

Network Identifiers Use CAIP-2

The accepts[].network of x402 v2 is a CAIP-2 identifier, not abbreviations such as base or skale. Clients must compare networks by CAIP-2 strings:

Support Matrix

upto is currently available only on Base. Actual available items are subject to the accepts returned by the API. You can also check the Facilitator:
The response from Facilitator /supported:
Result description:
  • The exact of Base, SKALE, and Solana is a fixed-amount payment path.
  • Only Base provides the upto post-metering path, which depends on Permit2 approve.
  • The extra.facilitatorAddress in the upto entry is the address that the client must write into the witness when signing, and it must be consistent with the value returned by the server.

Base

Base uses the official USDC contract:
In the exact scheme, the client signs EIP-712 TransferWithAuthorization. The signature content includes:
  • from: payer wallet address
  • to: Ace Data Cloud receiving address
  • value: payment amount for this transaction
  • validAfter / validBefore: signature validity time window
  • nonce: 32-byte random nonce
After verifying the signature, the Facilitator will call USDC’s transferWithAuthorization on-chain to complete the transfer. Base is the most recommended network for production integration, especially suitable for upto post-metering, because the Permit2, USDC, and wallet ecosystems are more mature. Base exact verification result example:
Result description:
  • The API paid retry returns the model content ADC_BASE_E2E_OK.
  • The on-chain transaction can be queried on BaseScan, and the block number is 46726299.
  • 95215 atomic USDC corresponds to 0.095215 USDC, which is the actual settlement amount for this API call.
Program execution result for order payment Base exact:
Result description:
  • The final status of the platform order is Finished.
  • The order pay_id is written with the same Base transaction hash.
  • 1200000 atomic USDC corresponds to 1.2 USDC, which is the historical actual payment amount for this 10 Credits order under the old policy; new orders no longer additionally enjoy an X402 payment method discount, and the specific signature amount is subject to this 402 response.

SKALE

SKALE uses bridged USDC, with a signing method similar to Base, also EIP-3009. It is suitable for EVM payment scenarios with low gas costs; actual calls are still subject to the accepts returned by the API. Typical 402 accepts of SKALE will include:
SKALE currently only provides exact. If you need post-metering, please use Base upto. SKALE exact verification result example:
Result description:
  • API paid retry returned model content ADC_SKALE_E2E_OK.
  • The transaction can be found in SKALE explorer, and the block number is 1969317.
  • The settlement amount for this exact payment is 0.095215 USDC.

Solana

Solana uses SPL USDC TransferChecked. The client constructs a transfer transaction, signs and submits it, and then puts the transaction signature or serialized transaction into the PAYMENT-SIGNATURE envelope. Characteristics of Solana:
  • Uses a Solana wallet adapter or base58 secret key;
  • The asset is the Solana USDC mint;
  • Currently only supports exact;
  • The Facilitator validates the mint, destination, authority, and amount of the transfer instruction.
If using wallet fee payer mode, the wallet directly submits the transaction, and the Facilitator is responsible for confirming the transaction and returning the settlement result. Example of Solana exact verification result:
Result description:
  • The paid retry has returned HTTP 200, and the model output is ADC_SOLANA_E2E_OK.
  • Rate limiting may be encountered when querying the on-chain signature through a public RPC.
  • Because public RPC queries may be rate-limited, the Solana explorer is not listed here. When strict reconciliation is required, please use your own Solana RPC or platform-side settlement records to confirm the transaction signature.

How to choose

No matter which chain you choose, do not hardcode prices in the client. The price is determined by the accepts[].maxAmountRequired returned by the server.

Added EVM networks

Native USDC fixed-amount payment is supported in code for the following networks and is being enabled one by one by network. Availability is subject to the accepts returned by the order or API; this does not mean that all networks are enabled in production. These networks only support exact, and the token precision is 6. Do not use bridged USDC with the same name. When using the official TypeScript/Python X402 Client, you can pass the alias in the table or the CAIP-2 identifier. The client constructs the signature using the target chain ID; the wallet must support the target network. The official support table for the Phantom extension wallet lists Arbitrum and Polygon; Optimism and Avalanche are currently not listed in this table, and Rabby or MetaMask that supports the target chain can be used. EVM addresses can be the same across different chains, but balances are independent of each other, and Solana addresses do not apply to EVM USDC. See the Phantom wallet support table.

New network gradual rollout entry

New chain entries are hidden by default. When accessing the console or Studio, use ?features=x402-arbitrum to enable the corresponding chain; separate multiple flags with commas. To disable a single chain, use ?features=-x402-arbitrum, and to clear local overrides, use ?features=none. The switches are saved separately for each domain. Order quotes and payment retries use the same switches, and the server validates independently; existing payment records can still be viewed. Enabling only the page flag will not enable chains that have not yet been configured; the specific payable networks are still subject to real-time accepts.