---
title: "Generates a transaction that cancels the given order"
method: GET
path: "/v1.0/dln/order/{id}/cancel-tx"
tags: ["DLN"]
---

# Generates a transaction that cancels the given order

`GET /v1.0/dln/order/{id}/cancel-tx`

This endpoint generates a transaction that cancels the given order. This transaction must be published to the destination chain of the order. Unlocked funds would be transferred to the address specified as the orderAuthority of the given order on the source chain. This transaction can only be executed by th orderAuthority of the given order on the destination chain

## Path parameters

- `id` string, required

## Response `200`

The request has succeeded

- DlnOrderCancelTxResponse
  - `to` string, required
  - `data` string, required
  - `value` string, required
  - `chainId` number, required
  - `from` string, required
  - `cancelBeneficiary` string, required

## Other responses

- `400` — The request is malformed, has missing parameters, or has incorrect or contradicting parameter values. Possible error ids: - INVALID_QUERY_PARAMETERS - UNKNOWN_ORDER - ORDER_ALREADY_FULFILLED - ORDER_ALREADY_CANCELLED
- `500` — The server has encountered a situation it does not know how to handle. Possible error ids: - INTERNAL_SERVER_ERROR - INTERNAL_SDK_ERROR

---

[API](https://skmtc.net/debridge/apis/debridge-liquidity-network-dln-api.md) · [All operations](https://skmtc.net/debridge/apis/debridge-liquidity-network-dln-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debridge/debridge-liquidity-network-dln-api/revisions/ec461847e46f/schema)
