githubEdit

How to Get a Solana RPC Endpoint

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

Solana is the go-to chain for high-frequency trading, DeFi, and real-time applications — which means your RPC infrastructure needs to keep up.

A Solana RPC endpoint is a URL that connects your application to a Solana validator node. Through this endpoint, your app can:

  • Query account balances and token holdings (getBalance, getTokenAccountsByOwner)

  • Fetch transaction data (getTransaction, getSignaturesForAddress)

  • Submit transactions (sendTransaction)

  • Monitor real-time events via WebSocket (accountSubscribe, logsSubscribe)

  • Access slot and block information (getSlot, getBlock)

Solana's JSON-RPC API follows a different specification than Ethereum — it's not EVM-based, so you'll use Solana-specific libraries like @solana/web3.js or solana-py.

Endpoint format:

https://go.getblock.io/<YOUR-ACCESS-TOKEN>/

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

Once logged in:

  1. Click "Shared Nodes" in the left sidebar

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

  1. Select:

    • Protocol: Solana (SOL)

    • Network: Mainnet

    • API Interface: JSON-RPC or WebSocket or MEV protected (JSON-RPC)

    • Region: 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",
    "id": 1,
    "method": "getSlot",
    "params": []
  }'

Code Examples

import { Connection, PublicKey, LAMPORTS_PER_SOL } from "@solana/web3.js";

const connection = new Connection(
  "https://go.getblock.io/<YOUR-ACCESS-TOKEN>/",
  "confirmed"
);

// Get current slot
const slot = await connection.getSlot();
console.log("Current slot:", slot);

// Get SOL balance
const pubkey = new PublicKey("7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU");
const balance = await connection.getBalance(pubkey);
console.log(`Balance: ${balance / LAMPORTS_PER_SOL} SOL`);

// Get recent blockhash (needed for transactions)
const { blockhash } = await connection.getLatestBlockhash();
console.log("Blockhash:", blockhash);

WebSocket for Real-Time Solana Data

Solana's WebSocket API is essential for real-time monitoring:

Why You Need a Dedicated RPC Provider for Solana

Solana is especially demanding on RPC infrastructure:

Challenge
Public RPC
GetBlock

Rate limits

Aggressive (2-5 RPS)

Up to 500 RPS

getSignaturesForAddress depth

Often limited to recent

Full history available

WebSocket stability

Frequent disconnects

Persistent connections

getProgramAccounts support

Usually blocked

Available

MEV protection

None

Available (Dedicated)

gRPC streaming (Yellowstone)

Not available

Available as add-on

Archive/historical data

Limited

Full history

Transaction landing rate

Low priority

High via LandFirst

Advanced Solana Infrastructure on GetBlock

1. Yellowstone gRPC (Geyser Plugin)

For applications that need the fastest possible data e.g., trading bots, MEV searchers, indexers. GetBlock offers managed Yellowstone gRPC endpoints as an add-on to Dedicated Solana Nodes.

Why Yellowstone gRPC over standard RPC:

  • Near-zero latency: streams data directly from validators

  • Millions of events per minute: handles Solana's full throughput

  • Rich filtering: subscribe only to accounts/programs you care about

  • Protobuf encoding: parsed, typed data instead of base64

Learn more about Yellowstone gRPCarrow-up-right

2. StreamFirst: Ultra-Low Latency Data

GetBlock's proprietary StreamFirst infrastructure delivers on-chain data faster than standard Yellowstone by combining:

  • Accelerated Yellowstone gRPC with optimized serialization

  • Shred-stream delivery: receives block fragments directly via UDP before blocks are fully confirmed

The Frankfurt data center provides 6ms latency within Europe and is positioned near the highest density of Solana validators.

Learn more about StreamFirstarrow-up-right

3. LandFirst: Smart Transaction Routing

For sending transactions with high landing probability:

  • SWQoS connections to high-stakes validators

  • Jito Block Engine integration for bundle support

  • Intelligent routing based on leader schedule and network conditions

Learn more about LandFirstarrow-up-right

4. TradeFirst — Complete HFT Infrastructure

Combines StreamFirst (data) + LandFirst (execution) + Jito integration for high-frequency trading:

  • See opportunities ~17ms faster than standard RPC

  • Execute trades via optimal routing paths

  • Bundle support for atomic multi-transaction operations

Learn more about TradeFirstarrow-up-right

What's Next?

Building something ambitious on Solana? Talk to our teamenvelope about custom infrastructure — we specialize in high-performance Solana deployments.

Last updated

Was this helpful?