• Creates a RpcTransport with some default behaviours.

    The default behaviours include:

    • An automatically-set Solana-Client request header, containing the version of @solana/kit
    • Logic that coalesces multiple calls in the same runloop, for the same methods with the same arguments, into a single network request.
    • [node-only] An automatically-set Accept-Encoding request header asking the server to compress responses

    Type Parameters

    • TClusterUrl extends ClusterUrl

    Parameters

    Returns RpcTransportFromClusterUrl<TClusterUrl>