UNPKG

gill

Version:

a modern javascript/typescript client library for interacting with the Solana blockchain

9 lines 493 B
import type { LocalnetUrl, ModifiedClusterUrl, SolanaClusterMoniker } from "../types/rpc"; export declare function localnet(putativeString: string): LocalnetUrl; /** * 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. */ export declare function getPublicSolanaRpcUrl(cluster: SolanaClusterMoniker | "mainnet-beta" | "localhost"): ModifiedClusterUrl; //# sourceMappingURL=rpc.d.ts.map