• Get a connection to the Solana network

    Parameters

    • options: GetOrCreateConnectionOptions

      The options for the connection

      • networkOrConnection

        The network to use or a connection

    Returns Connection

    The connection