# cancel()

Cancels the order.
The order must be in pending state.

  • Interface
class MidaOrder {
    cancel (): Promise<void>;
}
  • Example
await myOrder.cancel();