Skip to main content

Variable: DEFAULT\_SOLANA\_RPC\_URL

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / bridge / DEFAULT_SOLANA_RPC_URL

Variable: DEFAULT_SOLANA_RPC_URL

const DEFAULT_SOLANA_RPC_URL: "https://api.mainnet-beta.solana.com" = "https://api.mainnet-beta.solana.com"

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:1396

Default Solana RPC URL (public endpoint)

WARNING: Public RPC Endpoint Limitations

This is the official Solana public RPC with the following limitations:

  • Rate Limits: Aggressive rate limiting (may return 429 errors under load)
  • Reliability: Best-effort availability, no SLA
  • Performance: Higher latency than dedicated endpoints
  • Features: Some methods may be disabled or limited
  • Monitoring: No error tracking, request analytics, or debugging tools available

For Production Use, provide your own RPC URL from:

Example​

const bridgeService = new BridgeService({
solanaRpcUrl: 'https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY',
// ... other config
});