RPC Nodes
Our RPC nodes provide high-performance, reliable access to multiple blockchain networks through standard JSON-RPC interfaces.
API Structure
Access our RPC nodes through our unified API:
POST https://api.jetnodes.com/rpc/<network>/<YOUR-API-KEY>
<network>
: network identifier are listed on the table below for every blockchain we support.
Authentication
The API key must be provided as part of the URL path. It should be appended directly to the URL after the network identifier:
POST https://api.jetnodes.com/rpc/<network>/<YOUR-API-KEY>
Supported Networks
Blockchain | Network | Description |
---|---|---|
Bitcoin | btc | Bitcoin mainnet network |
Bitcoin Testnet | btc-testnet | Bitcoin testnet network |
Bitcoin
Networks
- Mainnet:
btc
- Testnet:
btc-test
Client Examples
// Example: Node.js with bitcoin-core
const Client = require('bitcoin-core');
const client = new Client({
url: `https://api.jetnodes.com/rpc/btc/${YOUR-API-KEY}`,
});
client.getBlockCount()
.then((blockCount) => {
console.log('Latest Bitcoin block count:', blockCount);
})
.catch((error) => {
console.error('Error fetching block count:', error);
});