---
title: "Returns order offers for unlock authorities"
method: POST
path: "/api/Orders/getForUnlockAuthorities"
tags: ["Orders"]
---

# Returns order offers for unlock authorities

`POST /api/Orders/getForUnlockAuthorities`

## Request body

- OrderGiveOfferRequestDTO
  - `giveChainIds` integer[], nullable — If set, only orders that originated in specified chains will be in the output
  - `orderStates` OrderState[], nullable — If set, only orders that are in specified states, will be in the output
  - `unlockAuthorities` string, nullable — If set, only orders that have a specified address as unlock authority in destination chain will be in the output Multiple values can be specified at the same time (with space as separator), if many values are specified, result will contain all orders that fit at least one of the criteria
  - `skip` integer — items to skip (pagination)
  - `take` integer — Number of items to return (pagination)

## Response `200`

OK

- OrderGiveOfferResponseDTO
  - `orders` OrderGiveOfferDTO[], nullable — Orders from requested page of the search result
    - `orderId` union — Unique identifier of the order
      - StringPropertyDTO
        - `bytesValue` string, byte, nullable — Binary representation of the property value
        - `bytesArrayValue` string, nullable — Bytes array representation of the value
        - `stringValue` string, nullable — String representation of the property value
      - TransactionHashPropertyDto
        - `bytesValue` string, byte, nullable — Binary representation of the property value
        - `bytesArrayValue` string, nullable — Bytes array representation of the value
        - `stringValue` string, nullable — String representation of the property value
    - `giveTokenAddress` AddressPropertyDTO
      - `Base64Value` string, byte, nullable — Binary representation of the property value
      - `bytesArrayValue` string, nullable — Bytes array representation of the value
      - `stringValue` string, nullable — String representation of the property value
    - `finalGiveAmount` IntPropertyDTO
      - `bytesValue` string, byte, nullable — Binary representation of the property value
      - `bytesArrayValue` string, nullable — Bytes array representation of the value
      - `bigIntegerValue` number, nullable — Integer representation of the property value
      - `stringValue` string, nullable — String representation of the property value
  - `totalCount` integer — Total number of orders fitting the search criteria

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Content
- `500` — Internal Server 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)
