• Creates a Rpc instance that exposes the Solana JSON RPC API given a cluster URL and some optional transport config. See createDefaultRpcTransport for the shape of the transport config.

    Type Parameters

    • TClusterUrl extends ClusterUrl

    Parameters

    Returns RpcFromTransport<SolanaRpcApiFromTransport<RpcTransportFromClusterUrl>, RpcTransportFromClusterUrl>