• Check if the connection is to the mainnet

    Parameters

    • connection: Connection

      Connection: The connection

    Returns Promise<boolean>

    • Promise - Whether the connection is to the mainnet