# How to Migrate from QuickNode to GetBlock — Step-by-Step

> Switch from QuickNode to GetBlock for more chains, lower pricing, and transparent billing. Complete migration guide with code examples.

QuickNode is a strong provider, but some teams find they need more chain coverage, a permanent free tier, or more predictable pricing. Here's how to migrate from QuickNode to GetBlock.This migration only takes 5–10 minutes.

## Why Teams Switch From QuickNode To GetBlock

| Factor | QuickNode | GetBlock |
| --- | --- | --- |
| Free tier | ❌ Trial only (expires) | ✅ **Free forever** (50K CU/day) |
| Chain coverage | ~75 | **130+** |
| Billing model | Credits (method-weighted, harder to predict) | **CU tiers with clear pricing** |
| Region selection | Auto-routed | **Choose: Frankfurt, New York, Singapore** |
| Solana HFT tools | WebSocket, gRPC | **StreamFirst + LandFirst + TradeFirst** |
| BSC private mempool | Not available | ✅ **BloXroute BDN integration** |
| Annual discount | Varies | **20% off on all plans** |

### How to Switch From QuickNode to GetBlock

#### Create Your GetBlock Endpoint

1. Sign up at [account.getblock.io](https://account.getblock.io/)
1. Go to **Shared Nodes** → **Create New Endpoint**
1. Select your blockchain, network, and API interface
1. Choose your region (closest to your servers)
1. Copy the endpoint URL

**Infura format:**

```bash
https://your-endpoint-name.quiknode.pro/YOUR_TOKEN/
```

**GetBlock format:**

```bash
https://shared.eu-central-1.getblock.io/YOUR_ACCESS_TOKEN/
```

#### Update Your Code

#### ethers.js

```javascript
// Before (Infura)
const provider = new JsonRpcProvider(
  "https://xxx.quiknode.pro/YOUR_QN_TOKEN/"
);

// After (GetBlock)
const provider = new JsonRpcProvider(
  "https://shared.eu-central-1.getblock.io/YOUR_GETBLOCK_TOKEN/"
);
```

#### Viem

```typescript
// Before
const client = createPublicClient({
  chain: mainnet,
  transport: http(
  "https://xxx.quiknode.pro/YOUR_QN_TOKEN/""
);
});

// After
const client = createPublicClient({
  chain: mainnet,
  transport: http("https://shared.eu-central-1.getblock.io/YOUR_GETBLOCK_TOKEN/"),
});
```

#### web3.py

```python
# Before
w3 = Web3(Web3.HTTPProvider("https://xxx.quiknode.pro/YOUR_QN_TOKEN/"))

# After
w3 = Web3(Web3.HTTPProvider("https://shared.eu-central-1.getblock.io/YOUR_GETBLOCK_TOKEN/"))
```

#### Hardhat

```javascript
// hardhat.config.js — Before
networks: {
  mainnet: {
    url: "https://xxx.quiknode.pro/YOUR_QN_TOKEN/"
  }
}

// hardhat.config.js — After
networks: {
  mainnet: {
    url: "https://shared.eu-central-1.getblock.io/YOUR_GETBLOCK_TOKEN/"
  }
}
```

#### Foundry

```toml
# foundry.toml — Before
[rpc_endpoints]
mainnet = "https://xxx.quiknode.pro/YOUR_QN_TOKEN/"

# foundry.toml — After
[rpc_endpoints]
mainnet = "https://shared.eu-central-1.getblock.io/YOUR_GETBLOCK_TOKEN/"
```

#### Wesocket

```javascript
// Before
const wsProvider = new WebSocketProvider("wss://xxx.quiknode.pro/YOUR_QN_TOKEN");

// After
const wsProvider = new WebSocketProvider("wss://shared.eu-central-1.getblock.io/YOUR_GETBLOCK_TOKEN/");
```

#### Environment Variables (recommended)

Best practice: use environment variables to switch providers without code changes.

```bash
# .env
RPC_URL=https://shared.eu-central-1.getblock.io/YOUR_GETBLOCK_TOKEN/
```

```javascript
const provider = new JsonRpcProvider(process.env.RPC_URL);
```

#### Verify Everything Works

Run a quick check:

```bash
curl -X POST $RPC_URL \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
```

If you get a valid response with a block number, you're good.

## Feature Mapping: QuickNode → GetBlock

| QuickNode Feature | GetBlock Equivalent |
| --- | --- |
| RPC Endpoints | ✅ Shared Nodes |
| WebSocket | ✅ WebSocket support |
| Archive data | ✅ All plans including Free |
| Streams | ✅ WebSocket subscriptions + Tracker (webhooks) |
| Marketplace add-ons | Partial — specialized tools built-in (BSC, Solana) |
| Team management | ✅ Team accounts (up to 30 users) |
| Dedicated Nodes | ✅ From $1,000/mo, unlimited |
| Debug/Trace | ✅ Starter+ plans |
| Multi-region | ✅ 3 regions (explicit selection) |
| Blockbook (`bb_*`) | ✅ Blockbook add-on, served over REST — see below |

### Bitcoin Blockbook: `bb_*` methods → REST paths

QuickNode exposes the Blockbook indexer as JSON-RPC methods with a `bb_` prefix. GetBlock provisions Blockbook as a separate add-on served over REST and WebSocket, so the method names do not carry over — the same index is queried by path instead. In the dashboard, select **Bitcoin → Mainnet → Full → Blockbook → REST**; the add-on gets its own endpoint URL, distinct from a Bitcoin JSON-RPC token.

| QuickNode method | GetBlock REST path |
| --- | --- |
| `bb_getAddress` | `/api/v2/address/{address}` |
| `bb_getUTXOs` | `/api/v2/utxo/{addressOrXpub}` |
| `bb_getXpub` | `/api/v2/xpub/{xpub}` |
| `bb_getTx` | `/api/v2/tx/{txid}` |
| `bb_getTxSpecific` | `/api/v2/tx-specific/{txid}` |
| `bb_getBlock` | `/api/v2/block/{blockId}` |
| `bb_getBlockHash` | `/api/v2/block-index/{blockHeight}` |
| `bb_getBalanceHistory` | `/api/v2/balancehistory/{address}` |
| `bb_sendTransaction` | `/api/v2/sendtx/` |

```bash
curl --location 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/v2/utxo/bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq?confirmed=true'
```

Sending a `bb_`-prefixed method to a standard Bitcoin JSON-RPC endpoint returns `-32603 Internal error`, because that endpoint has no address index and does not know the method. The Bitcoin Core wallet RPCs, including `listunspent`, are disabled on shared nodes and return `405 Method Not Allowed`; use `/api/v2/utxo/{address}` instead. Full reference: Bitcoin Blockbook REST API.

### What You Gain

* **Permanent free tier** — no expiration, no trial
* **25+ more chains** — broader multi-chain coverage
* **Explicit region control** — choose your data center
* **Solana HFT infrastructure** — StreamFirst, LandFirst, TradeFirst
* **BSC private mempool** — BloXroute BDN with bundle support
* **Simpler, more predictable pricing**

### What You Might Miss

* **QuickNode Marketplace add-ons** — some niche tools may not have direct equivalents
* **QuickNode Streams** → Use GetBlock WebSocket + Tracker for real-time data
* **IPFS/NFT-specific APIs** → Use specialized third-party services

<a href="https://account.getblock.io" class="button primary">Ready to switch? and have your new endpoints running in under 5 minutes.</a>
