# cancel()
Cancels the order.
The order must be in pending state.
- Interface
class MidaOrder {
cancel (): Promise<void>;
}
- Example
await myOrder.cancel();
Cancels the order.
The order must be in pending state.
class MidaOrder {
cancel (): Promise<void>;
}
await myOrder.cancel();