Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Overview JSON RPC endpoints on Solana, best practices, and error codes.
// Helius exposes Solana and Photon RPC endpoints through a single URL import { createRpc, Rpc } from '@lightprotocol/stateless.js'; const RPC_ENDPOINT = '<https://mainnet.helius-rpc.com?api-key=YOUR_KEY>'; const connection: Rpc = createRpc(RPC_ENDPOINT, RPC_ENDPOINT);
import { createRpc, Rpc } from '@lightprotocol/stateless.js'; // Helius exposes Solana and Photon RPC endpoints through a single URL const RPC_ENDPOINT = "https://devnet.helius-rpc.com?api-key=<api_key>"; const connection: Rpc = createRpc(RPC_ENDPOINT, RPC_ENDPOINT);
processed
confirmed
finalized
Was this page helpful?