githubEdit

How to Get an Avalanche RPC Endpoint

Step-by-step guide to getting a fast, reliable Avalanche RPC endpoint

Avalanche's C-Chain provides EVM-compatible smart contract execution with sub-second finality. Whether you're building DeFi protocols, NFT platforms, or gaming applications on Avalanche, this guide gets you connected in minutes.

Features

  • C-Chain — full EVM compatibility

  • Archive data access (all plans)

  • Trace & Debug methods (Starter+)

  • WebSocket support

  • Multi-region (Frankfurt, New York, Singapore)

  • Dedicated Nodes available

Step-by-Step: Get Your Avalanche RPC Endpoint

1

Create a GetBlock Account

Go to GetBlock Dashboardarrow-up-right and sign up. You can register with email or via Google/GitHub OAuth.

2

Create an Avalanche Endpoint

Once logged in:

  1. Click "Shared Nodes" in the left sidebar

  2. Click "Create New Endpoint" or the "+" button

  1. Select:

    • Protocol: Avalanche

    • Network: Mainnet or Testnet

    • API Interface: JSON-RPC or Websocket

    • Region: Frankfurt (EU)

  2. Click "Create": Your endpoint URL will be generated immediately.

3

Copy Your Endpoint URL

Your endpoint URL looks like this:

https://go.getblock.io/a1b2c3d4e5f6789012345678abcdef01/
circle-exclamation
4

Test the Connection

curl -X POST https://go.getblock.io/<YOUR-ACCESS-TOKEN>/ \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc":"2.0",
  "method":"eth_chainId",
  "params":[],
  "id":1
  }'

Code Sample

import { JsonRpcProvider } from "ethers";
const provider = new JsonRpcProvider("https://go.getblock.io/<YOUR-ACCESS-TOKEN>/");
console.log("Block:", await provider.getBlockNumber());

What's Next?

Building on Avalanche? Contact usarrow-up-right for custom infrastructure.

Last updated

Was this helpful?