Cancel Orders

Cancels specified orders from being triggered.

Request

POST [TRIGGER_ENDPOINT]/execute

Body


{
  "cancel_orders": {
    "tx": {
      "sender": "0x7a5ec2748e9065794491a8d29dcf3f9edb8d7c43746573743000000000000000",
      "productIds": [0],
      "digests": ["0x"],
      "nonce": "1"
    },
    "signature": "0x"
  }
}

Request Parameters

See Core > Executes > Cancel Orders

Response

Success

{
  "status": "success",
  "signature": {signature},
  "request_type": "execute_cancel_orders"
}

Failure

{
  "status": "failure",
  "signature": {signature}
  "error": "{error_msg}"
  "error_code": {error_code}
  "request_type": "execute_cancel_orders"
}

Last updated