Skip to main content

Withdraw Liquidity memo

Endpoint to get transaction memo for withdrawing liquidity

Query Parameters
asset string REQUIRED

Token to provide liquidity (e.g. BTC.BTC)

positionType string REQUIRED

Possible values: [sym_rune, sym_asset, sym, asym_asset, single_sided]

type of position

withdrawType string REQUIRED

Possible values: [asset, rune, sym]

type of withdraw

percent number REQUIRED

Percentage of liquidity to withdraw, Minimum 1, Maximum 100

Responses
200

A complete response required to build asset and/or rune transactions.

Schema
txData object

Transaction data for asset.

assetAmount number REQUIRED

asset amount to add liquidity

recipient string REQUIRED

pool address to deposit asset

memo string REQUIRED

Memo to send with transaction

feeRate number REQUIRED

Fee rate for transaction

router string

Router address

400

Error

Schema
message string

Message describing what required properties are missing or invalid.

500

Error

Schema
message string

Message describing the problem.