Reference

Solana

Constants, addresses and limits that matter when you pay or get paid on Solana.

On this page+

Networks

ClusterCAIP-2 idPublic RPC
Mainnetsolana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdphttps://api.mainnet-beta.solana.com
Devnetsolana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1https://api.devnet.solana.com
Testnetsolana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3zhttps://api.testnet.solana.com

The part after solana: is the first 32 characters of the cluster’s genesis hash. x402 clients may register solana:* to match every cluster. Public RPC endpoints are rate-limited; use a private one in production.

Assets

AssetMintDecimals
USDC (mainnet)EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v6
USDC (devnet)4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU6
Wrapped SOLSo111111111111111111111111111111111111111129

Programs

ProgramAddress
SPL TokenTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb
Associated Token AccountATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA1knL
MemoMemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr
Compute BudgetComputeBudget111111111111111111111111111111

Fees and limits

ItemValue
Slot timeAbout 400 ms
Base fee5,000 lamports per signature (1 SOL = 1,000,000,000 lamports)
Priority feeCompute unit price (micro-lamports) × compute unit limit
Transaction size1,232 bytes
Compute per transactionUp to 1,400,000 units
Blockhash lifetime150 blocks, about a minute
Token account rentAbout 0.00204 SOL (165 bytes), refunded when the account is closed
Commitment levelsprocessed, confirmed (usually 1–2 s), finalized (about 13 s)

Token accounts

Tokens live in token accounts, not directly in wallets. The associated token account (ATA) is the one derived from the owner, the token program and the mint. x402 payments move tokens from ATA to ATA and never create accounts, so the payTo’s ATA for the mint must already exist. Creating one costs the rent above, paid once by whoever creates it.