Function clusterApiUrl

  • Retrieves the RPC API URL for the specified cluster

    Parameters

    • Optional cluster: Cluster

      The cluster name of the RPC API URL to use. Possible options: 'devnet' | 'testnet' | 'mainnet-beta'

    • Optional tls: boolean

      Use TLS when connecting to cluster.

    Returns string

    URL string of the RPC endpoint

Generated using TypeDoc