> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# 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                     |

<Note>
  **Recommended chains for production:** Base (low fees, fast), Ethereum (maximum liquidity), Arbitrum (balanced)
</Note>

## EVM testnet networks

For development and testing, AnySpend supports these testnets:

| Network          | Identifier         | Chain ID | Faucet                                                             |
| ---------------- | ------------------ | -------- | ------------------------------------------------------------------ |
| Abstract Testnet | `abstract-testnet` | 11124    | [Abstract Faucet](https://portal.testnet.abs.xyz/)                 |
| Avalanche Fuji   | `avalanche-fuji`   | 43113    | [Fuji Faucet](https://faucet.avax.network/)                        |
| Base Sepolia     | `base-sepolia`     | 84532    | [Coinbase Faucet](https://portal.cdp.coinbase.com/products/faucet) |
| Polygon Amoy     | `polygon-amoy`     | 80002    | [Polygon Faucet](https://faucet.polygon.technology/)               |
| Sei Testnet      | `sei-testnet`      | 1328     | [Sei Faucet](https://atlantic-2.app.sei.io/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 |

<Info>
  Solana support enables cross-VM payments - users can pay with SOL or SPL tokens while resource servers receive stablecoins on EVM chains.
</Info>

## Token compatibility

<Note>
  To use a token with X402, it must implement either **EIP-3009** (`transferWithAuthorization`) or **EIP-2612** (`permit`) for gasless signatures.
</Note>

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

<Note>
  **New Tool Available**: Verify if any ERC-20 token is compatible with X402 payments before integration.
</Note>

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](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:

```bash theme={null}
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](https://www.npmjs.com/package/@b3dotfun/anyspend-x402-token-compat)

```bash theme={null}
npm install @b3dotfun/anyspend-x402-token-compat
```

**Usage:**

```typescript theme={null}
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)

<Info>
  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.
</Info>

<Note>
  Built on Cloudflare's global infrastructure with intelligent caching for instant results.
</Note>

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/](https://x402-demo.anyspend.com/)

<Warning>
  **Important**: Always verify token compatibility before integrating a new token into your payment flow. Incompatible tokens will result in failed payment signatures.
</Warning>

## Additional resources

<CardGroup cols={2}>
  <Card title="Chainlist" icon="link" href="https://chainlist.org">
    RPC endpoints and chain metadata
  </Card>

  <Card title="Token Lists" icon="list" href="https://tokenlists.org">
    Verified token addresses across chains
  </Card>

  <Card title="Coinbase Faucet" icon="faucet" href="https://portal.cdp.coinbase.com/products/faucet">
    Get testnet tokens for development
  </Card>

  <Card title="AnySpend Facilitator" icon="arrows-turn-right" href="https://mainnet.anyspend.com/x402">
    Production facilitator API endpoint
  </Card>
</CardGroup>

## What's next

<CardGroup cols={2}>
  <Card title="Quickstart for Buyers" icon="wallet" href="/anyspend/x402-quickstart-buyers">
    Start using these tokens to pay for services
  </Card>

  <Card title="Quickstart for Sellers" icon="money-bill" href="/anyspend/x402-quickstart-sellers">
    Configure your API to accept these tokens
  </Card>
</CardGroup>

## Getting help

If you need a specific token or network supported:

* **Discord**: Request in [#anyspend-support](https://discord.gg/b3dotfun)
* **GitHub**: Open an issue at [github.com/b3-fun/anyspend-x402](https://github.com/b3-fun/anyspend-x402)
* **Email**: [support@b3.fun](mailto:support@b3.fun)
