githubEdit

How to Get an Ethereum RPC Endpoint

Step-by-step guide to getting a fast, reliable Ethereum RPC endpoint. Set up free or production-grade ETH RPC access with GetBlock in under 2 minutes.

An Ethereum RPC (Remote Procedure Call) endpoint is a URL that your application uses to send requests to an Ethereum node. When your dApp needs to:

  • Check a wallet balance (eth_getBalance)

  • Read a smart contract (eth_call)

  • Send a transaction (eth_sendRawTransaction)

  • Get block data (eth_getBlockByNumber)

  • Fetch transaction receipts (eth_getTransactionReceipt)

It sends a JSON-RPC request to an Ethereum node through an RPC endpoint. The node processes the request and returns the data.

For example:

{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": "getblock.io"
  }

Step-by-Step: Get Your Ethereum 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 Ethereum Endpoint

Once logged in:

  1. Click "Shared Nodes" in the left sidebar

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

  1. Configure your endpoint:

  • Protocol: Ethereum (ETH)

  • Network: Mainnet (or Sepolia/Holesky for testing)

  • API Interface: JSON-RPC (most common), WebSocket, or Beacon API

  • Region: Choose the closest — Frankfurt (EU), New York (US), or Singapore (APAC)

  1. 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_blockNumber",
    "params": [],
    "id": "getblock.io"
  }'

WebSocket Endpoint for Real-Time Data

For real-time events (new blocks, pending transactions, log subscriptions), use a WebSocket connection:

WebSocket endpoint format:

Subscribe to new blocks

Ethereum Testnet Endpoints

For development and testing, use testnet endpoints. GetBlock supports:

Testnet
Purpose
How to Get Tokens

Sepolia

Primary Ethereum testnet

Archive Data Access

Need to query the historical state at any past block? Enable archive mode on your endpoint.

Archive data lets you:

  • Call eth_getBalance at any historical block

  • Execute eth_call against old contract state

  • Run debug_traceTransaction for any past transaction

  • Use trace_block and trace_call for deep analysis

Archive mode is available on all paid plans and Dedicated Nodes.

Example — get balance at a specific historical block:

What's Next?

Need help choosing the right setup for your Ethereum project? Contact our teamenvelope, and we'll help you find the best configuration.

Last updated

Was this helpful?