RPC Access
AllenHark RPC is a standard Solana JSON-RPC and WebSocket pubsub endpoint, billed by the month, not by the call.
Documentation
For full API documentation, please refer to the standard Solana JSON RPC documentation.
Connection
You connect to our RPC endpoints utilizing IP Whitelisting instead of API keys. Once your server IP is whitelisted, you can access the endpoint directly.
Endpoints
HTTP and WebSocket share one host and port, 7999, in two regions. The examples below use Frankfurt.
| Region | HTTP | WebSocket |
|---|---|---|
| Frankfurt | http://88.216.36.108:7999 | ws://88.216.36.108:7999 |
| Amsterdam | http://84.32.104.38:7999 | ws://84.32.104.38:7999 |
http://88.216.36.108:7999ws://88.216.36.108:7999Limits
- Connections: you buy a number of RPC Standard connections, and each costs less the more you buy. Put them all on one IP or split them across several. An IP that opens more than its share gets HTTP 429 with error
-32005. - Heavy methods:
getProgramAccountsandgetSignaturesForAddressare limited to 30 calls per 60 seconds per IP. AgetProgramAccountscall with neitherfiltersnordataSliceis refused with-32602. - WebSocket: a session with no traffic for 300 seconds is closed.
- Other addresses: a connection from an IP that is not on your allowlist is accepted, then dropped with no error body.
- sendTransaction is forwarded to the node as is; nothing is staked or prioritised.
Usage Example
Node.js (@solana/web3.js)
import { Connection } from '@solana/web3.js';
const connection = new Connection(
'http://88.216.36.108:7999',
'confirmed'
);
const version = await connection.getVersion();
console.log('Connection established:', version);Rust (solana-client)
use solana_client::rpc_client::RpcClient;
let rpc_url = "http://88.216.36.108:7999";
let client = RpcClient::new(rpc_url.to_string());
let version = client.get_version().unwrap();
println!("Connection established: {:?}", version);cURL
curl http://88.216.36.108:7999 \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getHealth"
}'