---
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`

## Request

- Base URL: `https://api.sprinter.tech`
- URL: `https://api.sprinter.tech/liquidity/v2/chain/{dstChain}/protocol/{protocol}/signature`
- Auth: API key in header `X-Auth-Token`

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

## Changes

- **2026-06-12** `d6850bb00581`: 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2026-04-02** `ce8ff009580d`: 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
- **2026-03-24** `a09cd74d2a58`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sprintertech/apis/sprinter-api/changes/liquidity/v2/chain/:dstChain/protocol/:protocol/signature/post.md)

---

[API](https://skmtc.dev/sprintertech/apis/sprinter-api.md) - [All operations](https://skmtc.dev/sprintertech/apis/sprinter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sprintertech/apis/sprinter-api/revisions/1713381f8993?raw)
