Function getSeaportInstance

  • Get the Seaport instance for a given protocol address. This is a shared utility to avoid duplicating the logic across multiple SDK manager classes.

    Parameters

    • protocolAddress: string

      The protocol address

    • seaport: Seaport

      The Seaport instance

    Returns Seaport

    The Seaport instance for the given protocol address

    Throws

    Error if the protocol address is not supported