Orderbook Endpoints
cancelOrder
Cancels one of the users exisiting unmatched orders.
Method: update
isSigned: true
Parameters
Name | Type | Description | Optional |
---|---|---|---|
marketId | Nat | The id of the market where the order being cancelled was placed on | No |
orderId | Text | The id of the order being cancelled | No |
Response
Returns: CancelOrderReceipt
where CancelOrderReceipt is defined as:
public type CancelOrderReceipt = { #Ok : Nat; #Err : Text };