theRPC
← All chains

Avalanche

LiveEVMhttps

Avalanche is available on TheRPC under the unified endpoint avalanche.therpc.io/<YOUR_KEY>. Same JSON-RPC schema as your existing integration — just swap the host.

Try a call now

Live request through TheRPC's docs proxy. No API key needed for this demo.

curl https://avalanche.therpc.io/YOUR_API_KEY \
-X POST \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

Networks

NetworkChain IDExplorerEndpoint
Mainnet0xa86asnowtrace.ioavalanche.therpc.io
Fujiavalanche.therpc.io
wallet_addEthereumChain
await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0xa86a',
chainName: 'Avalanche',
rpcUrls: ['https://avalanche.therpc.io/<YOUR_KEY>'],
nativeCurrency: {
name: 'AVAX',
symbol: 'AVAX',
decimals: 18,
},
blockExplorerUrls: ['https://snowtrace.io'],
}],
});