API Overview

cubestech exposes five authenticated Solana interfaces.

Endpoints

ProductEndpointTransport
JSON-RPChttps://api.mainnet-beta.solana.comHTTPS
WebSocketwss://ws.sol.cubestech.onlineWebSocket over TLS
Yellowstone gRPCgeyser.sol.cubestech.online:443:443gRPC over TLS
Enhanced Streamsstreams.sol.cubestech.online:443:443gRPC over TLS
Program Streamsevents.sol.cubestech.online:443:443gRPC over TLS

JSON-RPC request

stringrequired

Use "2.0".

string | number | null

Use a value unique within your client. Match responses by this field.

stringrequired

Use a supported Solana method name.

array

Follow the selected method schema.

bash
curl https://api.mainnet-beta.solana.com \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "jsonrpc":"2.0",
    "id":"balance",
    "method":"getBalance",
    "params":["83astBRguLMdt2h5U1Tbd1hZemEfWp1YGt6jZvoRoKCo"]
  }'

Stream choice

Use WebSocket for standard Solana PubSub.

Use Yellowstone for low-level Geyser updates and advanced filters.

Use Enhanced Streams for the curated 18-topic catalog.

Use Program Streams for 1,074 program instructions and events in their source shape.

Commitment

LevelMeaning
processedThe connected node processed the slot
confirmedCluster votes confirmed the slot
finalizedThe cluster finalized the slot

Pick confirmed for most live application reads. Pick finalized for durable settlement records.