Logo

Orderbook Endpoints

cancelOrder

Cancels one of the users exisiting unmatched orders.

Method: update
isSigned: true


Parameters

NameTypeDescriptionOptional
marketIdNatThe id of the market where the order being cancelled was placed onNo
orderIdTextThe id of the order being cancelledNo

Response

Returns: CancelOrderReceipt

  where CancelOrderReceipt is defined as:

  public type CancelOrderReceipt = { #Ok : Nat; #Err : Text };
Previous
placeOrder