Skip to main content

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:
NetworkIdentifierChain IDType
Abstractabstract2741L2
Arbitrum Onearbitrum42161L2 - Optimistic Rollup
Avalanche C-Chainavalanche43114L1
B3b38333L2
Basebase8453L2 - Optimistic Rollup
BNB Smart Chainbsc56L1
Ethereumethereum1L1
IoTeXiotex4689L1
Optimismoptimism10L2 - Optimistic Rollup
Peaqpeaq3338L1
Polygon PoSpolygon137Sidechain
Seisei1329L1
Recommended chains for production: Base (low fees, fast), Ethereum (maximum liquidity), Arbitrum (balanced)

EVM Testnet Networks

For development and testing, AnySpend supports these testnets:
NetworkIdentifierChain IDFaucet
Abstract Testnetabstract-testnet11124Abstract Faucet
Avalanche Fujiavalanche-fuji43113Fuji Faucet
Base Sepoliabase-sepolia84532Coinbase Faucet
Polygon Amoypolygon-amoy80002Polygon Faucet
Sei Testnetsei-testnet1328Sei Faucet

SVM Networks (Solana)

AnySpend also supports Solana Virtual Machine (SVM) networks:
NetworkIdentifierChain IDType
Solana Mainnetsolana101Mainnet
Solana Devnetsolana-devnet103Testnet
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: https://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:
curl 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
npm install @b3dotfun/anyspend-x402-token-compat
Usage:
import { 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:
  • ⚡ Lightning Fast: Millisecond-level response times through smart caching
  • 📊 Crowdsourced: Database grows automatically as more tokens are checked
  • 🔄 Always Fresh: On-chain verification for uncached tokens
  • 🌍 Global: Powered by 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: