gill
gill/Functions

getPublicSolanaRpcUrl

function getPublicSolanaRpcUrl(cluster): ModifiedClusterUrl;

Get a public Solana RPC endpoint for a cluster based on its moniker

Note: These RPC URLs are rate limited and not suitable for production applications.

Parameters

ParameterType
cluster| SolanaClusterMoniker | "mainnet-beta" | "localhost"

Returns

ModifiedClusterUrl

On this page