Network & token support
Supported blockchains, tokens, and contract addresses for AnySpend x402 payments
Overview
AnySpend x402 supports payments across multiple blockchain networks including EVM-compatible chains and Solana (SVM). This page provides the complete reference of supported networks, tokens, and their contract addresses.
EVM mainnet networks
AnySpend x402 supports the following EVM mainnet chains:
| Network | Identifier | Chain ID | Type |
|---|---|---|---|
| Abstract | abstract | 2741 | L2 |
| Arbitrum One | arbitrum | 42161 | L2 - Optimistic Rollup |
| Avalanche C-Chain | avalanche | 43114 | L1 |
| B3 | b3 | 8333 | L2 |
| Base | base | 8453 | L2 - Optimistic Rollup |
| BNB Smart Chain | bsc | 56 | L1 |
| Ethereum | ethereum | 1 | L1 |
| IoTeX | iotex | 4689 | L1 |
| Optimism | optimism | 10 | L2 - Optimistic Rollup |
| Peaq | peaq | 3338 | L1 |
| Polygon PoS | polygon | 137 | Sidechain |
| Sei | sei | 1329 | L1 |
Recommended chains for production: Base (low fees, fast), Ethereum (maximum liquidity), Arbitrum (balanced)
EVM testnet networks
For development and testing, AnySpend supports these testnets:
| Network | Identifier | Chain ID | Faucet |
|---|---|---|---|
| Abstract Testnet | abstract-testnet | 11124 | Abstract Faucet |
| Avalanche Fuji | avalanche-fuji | 43113 | Fuji Faucet |
| Base Sepolia | base-sepolia | 84532 | Coinbase Faucet |
| Polygon Amoy | polygon-amoy | 80002 | Polygon Faucet |
| Sei Testnet | sei-testnet | 1328 | Sei Faucet |
SVM networks (Solana)
AnySpend also supports Solana Virtual Machine (SVM) networks:
| Network | Identifier | Chain ID | Type |
|---|---|---|---|
| Solana Mainnet | solana | 101 | Mainnet |
| Solana Devnet | solana-devnet | 103 | Testnet |
Solana support enables cross-VM payments - users can pay with SOL or SPL tokens while resource servers receive stablecoins on EVM chains.
Token compatibility
To use a token with X402, it must implement either EIP-3009 (transferWithAuthorization) or EIP-2612 (permit) for gasless signatures.
Rather than maintaining a static list of supported tokens, we've built tools to help you verify any token's compatibility in real-time.
X402 token compatibility checker
New Tool Available: Verify if any ERC-20 token is compatible with X402 payments before integration.
For a token to be compatible with X402, it must implement either:
- EIP-3009 (
transferWithAuthorization) - Used by USDC - EIP-2612 (
permit) - Used by USDT (on some chains) and many other modern ERC-20 tokens
Using the public checker
Check any ERC-20 token on AnySpend-supported chains:
Web interface: anyspend.com/x402-tokens
Simply enter a token address and select the network to instantly verify X402 compatibility.
Direct API: You can also query the API directly:
bashcurl https://tokens.anyspend.com/metadata/base/0xb3b32f9f8827d4634fe7d973fa1034ec9fddb3b3
This returns the token metadata and compatibility information in JSON format.
Using the npm package
For developers integrating token compatibility checks into their applications:
npm package: @b3dotfun/anyspend-x402-token-compat
bashnpm install @b3dotfun/anyspend-x402-token-compat
Usage:
typescriptimport { TokenCompatClient } from '@b3dotfun/anyspend-x402-token-compat'; const client = new TokenCompatClient(); // Get token metadata and compatibility const metadata = await client.getTokenMetadata('base', '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'); console.log(metadata.supportsEip2612); // true - supports permit console.log(metadata.supportsEip3009); // true - supports transferWithAuth // Quick compatibility check const hasPermit = await client.supportsEip2612('base', tokenAddress);
How it works
Supported Cross-Chain Routes: AnySpend supports cross-chain routing between any of the supported EVM networks, including:
- Ethereum ↔ Base, Arbitrum, Optimism, Polygon, Avalanche
- Base ↔ Arbitrum, Optimism, Polygon
- L1 ↔ L2 bridging across all supported chains
- Cross-VM: Solana ↔ EVM chains (experimental)
Cross-chain payments take longer (2-5 minutes) due to bridging time and incur additional fees (~0.5% total). Same-chain payments are recommended for the best user experience.
Built on Cloudflare's global infrastructure with intelligent caching for instant results.
The checker combines real-time on-chain verification with a growing database of verified tokens:
- Millisecond-level response times through smart caching
- Database grows automatically as more tokens are checked
- On-chain verification for uncached tokens
- Runs on Cloudflare Workers for low-latency worldwide access
Integration in x402
The token compatibility checker is already integrated into the AnySpend X402 SDK:
- Validates token compatibility upfront before payment
- Returns clear, actionable errors for unsupported tokens
- Prevents failed transactions due to incompatible tokens
Try it live: https://x402-demo.anyspend.com/
Important: Always verify token compatibility before integrating a new token into your payment flow. Incompatible tokens will result in failed payment signatures.
Additional resources
What's next
Getting help
If you need a specific token or network supported:
- Discord: Request in #anyspend-support
- GitHub: Open an issue at github.com/b3-fun/anyspend-x402
- Email: support@b3.fun