API Overview
cubestech exposes five authenticated Solana interfaces.
Endpoints
| Product | Endpoint | Transport |
|---|---|---|
| JSON-RPC | https://api.mainnet-beta.solana.com | HTTPS |
| WebSocket | wss://ws.sol.cubestech.online | WebSocket over TLS |
| Yellowstone gRPC | geyser.sol.cubestech.online:443:443 | gRPC over TLS |
| Enhanced Streams | streams.sol.cubestech.online:443:443 | gRPC over TLS |
| Program Streams | events.sol.cubestech.online:443:443 | gRPC over TLS |
JSON-RPC request
stringrequiredUse "2.0".
string | number | nullUse a value unique within your client. Match responses by this field.
stringrequiredUse a supported Solana method name.
arrayFollow 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
| Level | Meaning |
|---|---|
processed | The connected node processed the slot |
confirmed | Cluster votes confirmed the slot |
finalized | The cluster finalized the slot |
Pick confirmed for most live application reads. Pick finalized for durable settlement records.