Endpoints
| Protocol | Endpoint | Use Case |
|---|---|---|
| JSON-RPC | https://api.nolimitnodes.com/solana_mainnet?apikey=YOUR_API_KEY | Querying blockchain state, sending transactions |
| WebSocket (RPC) | wss://api.nolimitnodes.com/solana_mainnet?apikey=YOUR_API_KEY | Real-time subscriptions (accounts, slots, logs) |
| WebSocket (Data Streams) | wss://api.nolimitnodes.com/socket?apikey=YOUR_API_KEY | Jupiter swaps, Pump Fun, liquidity pools, token creations, wallet transfers |
JSON-RPC Request Format
All RPC requests follow the JSON-RPC 2.0 specification:Must be
"2.0".A unique identifier for the request.
The RPC method name (e.g.,
"getSlot", "getBalance").Method-specific parameters.
Example Request
Example Response
Data Stream Request Format
Data stream subscriptions use a different format via thedataSubscribe method:
Must be
"dataSubscribe" for subscribing or "dataUnsubscribe" for unsubscribing.A client-defined reference ID for the subscription.
Array of stream objects, each with a
stream name and optional params for filtering.Example Subscription
Unsubscribing
Commitment Levels
Many RPC methods accept an optionalcommitment parameter:
| Level | Description |
|---|---|
finalized | Block confirmed by supermajority of the cluster. Most reliable. |
confirmed | Block has received votes from supermajority. Fast and reliable. |
processed | Block processed by the connected node. Fastest but may be reverted. |
Encoding Formats
Response data can be returned in different encodings:| Format | Description |
|---|---|
base58 | Base-58 encoded string (default for small data) |
base64 | Base-64 encoded string |
base64+zstd | Zstandard-compressed base-64 string |
jsonParsed | Parsed JSON format (when available) |
