Function getSingleOrder

  • Takes an order account's public key as a parameter and returns the deserialized contents of the data account.

    Parameters

    • connection: Connection
    • orderAccount: PublicKey

      Public key of order account to be deserialized

    • programId: PublicKey

      Deployed program ID for GM program

    Returns Promise<OrderAccountInfo>