Documentation index

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.

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.

RegionHTTPWebSocket
Frankfurthttp://88.216.36.108:7999ws://88.216.36.108:7999
Amsterdamhttp://84.32.104.38:7999ws://84.32.104.38:7999
Text
http://88.216.36.108:7999
Text
ws://88.216.36.108:7999

Limits

  • 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: getProgramAccounts and getSignaturesForAddress are limited to 30 calls per 60 seconds per IP. A getProgramAccounts call with neither filters nor dataSlice is 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)

JavaScript
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)

Rust
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

Terminal
curl http://88.216.36.108:7999 \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getHealth"
  }'