Function getOpenOrdersForPlayerAndCurrency

  • Get an array of open orders for a given player and currency

    Parameters

    • connection: Connection
    • playerPublicKey: PublicKey

      Public key of player

    • currencyMint: PublicKey

      Public key of mint

    • programId: PublicKey

      Deployed program ID for GM program

    Returns Promise<OrderAccountItem[]>