How to connect to RPC Gateway
The Bitnob RPC Gateway provides a simple, unified way to connect to multiple blockchain networks. Unlike traditional RPC connections that require you to maintain separate endpoints for each blockchain, Bitnob offers a single endpoint with dynamic chain/network routing.
Connection Method
All connections to the Bitnob RPC Gateway are made via HTTPS.
1. Direct HTTPS Connection
The most common method for production applications.
Features:
Single endpoint for all blockchains
HTTPS encryption by default
High availability with automatic failover
Built-in rate limiting and DDoS protection
Step-by-Step Connection Guide
Step 1: Obtain Your API Key
Sign up for a Bitnob account at https://app.bitnob.com
Navigate to API Settings in your dashboard
Create a new API client
Copy and securely store:
4.1 Client ID**: Your unique identifier
4.2 Client Secret**: Your signing key (shown only once!)
Security Note: Never expose your Hmac key in client-side code or public repositories.
Step 2: Choose Your Blockchain and Network
Select from our supported blockchains. Each blockchain supports multiple networks:
Mainnet: This is the real network where real assets (like actual ETH, BTC) exist. Anything you do here has real-world value.
Testnet: These are for testing and development. No real money is involved, so you can experiment safely. Testnets have different names depending on the blockchain (e.g., Sepolia for Ethereum, Shasta for TRON).
blockchain | networks | chain value |
|---|---|---|
Bitcoin (BTC) | mainnet, testnet | bitcoin |
Ethereum (ETH) | mainnet, sepolia, holesky | ethereum |
BNB Smart Chain (BSC) | mainnet, testnet | bsc |
Polygon (POL) | mainnet, amoy | polygon |
Base | mainnet, sepolia | base |
Solana (SOL) | mainnet, testnet, devnet | solana |
TRON (TRX) | mainnet, shasta, nile | tron |
TON | mainnet, testnet | ton |
Access to all blockchains including the supported ones listed above is granted on request.
Step 3: Make Your First Request
Example: Get Ethereum Block Number
Expected Response:
Step 4: Verify the Connection
Test your connection with a simple health check:
For EVM Chains:
For Bitcoin:
For Tron: