---
title: "Get signing authorization for a liquidity transaction"
method: POST
path: "/liquidity/v2/chain/{dstChain}/protocol/{protocol}/signature"
tags: ["Liquidity"]
---

# Get signing authorization for a liquidity transaction

`POST /liquidity/v2/chain/{dstChain}/protocol/{protocol}/signature`

This endpoint streams signed authorization for a liquidity transaction

## Path parameters

- `protocol` string, required
- `dstChain` string, required

## Request body

- LiquidityBorrowSignatureV2Body
  - `caller` string, required — eoa wallet address which will be used to call the liquidity pool contract
  - `input` string, required — hex encoded input data which will be executed on the liquidity pool contract with borrowed liquidity
  - `metadata` integer[] — protocol-specific metadata as JSON object. For lifi-escrow: {"srcChain": "eip155:1"} where srcChain is the source chain CAIP ID used for on-chain order fetching fallback
  - `quoteId` string, required — quote ID obtained from the borrow quote endpoint
  - `txHash` string, required — tx hash of the deposit transaction which will be used to verify liquidity repayment guarantee

## Response `200`

This response is sent as a stringified json in SSE event with the event name 'data'

## Other responses

- `400` — Bad request due to invalid input or missing parameters
- `500` — Internal server error

---

[API](https://skmtc.net/sprintertech/apis/untitled-api.md) · [All operations](https://skmtc.net/sprintertech/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sprintertech/untitled-api/revisions/1713381f8993/schema)
