Function getOpenOrdersForPlayerAndAsset

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

    Parameters

    • connection: Connection
    • playerPublicKey: PublicKey

      Public key of player

    • assetMint: PublicKey

      Public key of mint

    • programId: PublicKey

      Deployed program ID for GM program

    Returns Promise<OrderAccountItem[]>