• Cancels Order with Solana connection Takes a connection to fetch necessary accounts - it is preferred to use cancelAccount if account data can be provided without an RPC connection.

    Returns

    InstructionReturn

    Parameters

    • connection: Connection

      Connection

    • orderInitializer: PublicKey

      Order Initializer Key

    • orderAccount: Order

      Order Account

    • program: GalacticMarketplaceIDLProgram

      Galactic Marketplace Program

    Returns Promise<InstructionReturn[]>

Generated using TypeDoc