RPC
For Solana, a successful getHealth request returns a JSON-RPC result of “ok”. Check both the HTTP status and the JSON-RPC error field.
Service guide ↗Set up your account, choose the right interface, and test a connection before adding it to your application. These examples follow the services available from cubestech.
Your endpoint and key belong to your configured node. Keep development and production credentials separate, and never expose them in browser JavaScript.
Open your dashboard ↗Confirm your plan includes the interface and network you need.
Complete account and node setup in your dashboard.
Store the node credential in a backend environment variable or secret manager.
Copy the endpoint for your selected service—not the storefront address.
Start with the endpoint and credential in your node dashboard. Follow a service-specific quickstart, make a small test request, and connect your application when you are ready.
Keep credentials in your backend or secret manager. Add timeouts, bounded retries, and reconnection handling before you put a consumer into production.
# Keep NODE_API_KEY in your server environmentexport RPC_ENDPOINT="https://api.mainnet-beta.solana.com" curl "$RPC_ENDPOINT" \ -H "Content-Type: application/json" \ -H "x-api-key: $NODE_API_KEY" \ -d '{"jsonrpc":"2.0","id":1,"method":"getHealth"}'A working connection is the first check. Validate the response or payload before you build on it.
For Solana, a successful getHealth request returns a JSON-RPC result of “ok”. Check both the HTTP status and the JSON-RPC error field.
Service guide ↗Expect a subscription ID after subscribing, then notifications for matching changes. An open socket alone does not confirm a subscription.
Service guide ↗Confirm authentication, apply a narrow filter or permitted topic, and inspect the expected payload. A quiet filter may legitimately have no matching events.
Service guide ↗Confirm authentication, apply a narrow filter or permitted topic, and inspect the expected payload. A quiet filter may legitimately have no matching events.
Service guide ↗Verify the destination challenge, then confirm your receiver is getting packets. Reconstruction and decoding happen in your consumer.
Service guide ↗Confirm the plugin configuration and expected output with the operator before running your consumer.
Service guide ↗Check the node credential and the documented header or SDK token. Do not place your key in the URL or log it.
Reduce request concurrency. Retry with bounded exponential backoff and jitter, then review your plan's request allowance.
Check the method, parameters, network, and JSON-RPC error body. Do not repeatedly retry an invalid request.
Handle keepalives and reconnects. Restore your subscription or filters after reconnection and close unused connections.
Check the registered destination, reachable UDP port, firewall rules, and receiver verification. Confirm your plan includes a destination.