v9

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-173145129.1 KB
Liquidity

Get signing authorization for a liquidity transaction

This endpoint streams signed authorization for a liquidity transaction

post/liquidity/v2/chain/{dstChain}/protocol/{protocol}/signature

Path parameters

protocolstring required

Name of the protocol, e.g., Across, Lighter

dstChainstring required

Destination chain Caip id, eg. eip155:8453

Request body

callerstring required

eoa wallet address which will be used to call the liquidity pool contract

inputstring required

hex encoded input data which will be executed on the liquidity pool contract with borrowed liquidity

metadatainteger[]

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

quoteIdstring required

quote ID obtained from the borrow quote endpoint

txHashstring required

tx hash of the deposit transaction which will be used to verify liquidity repayment guarantee

Response

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