Skip to main content

Add asset liquidity

Endpoint to get transaction memo for adding liquidity

Query Parameters
asset string REQUIRED

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

positionType string REQUIRED

Type of position to add, for asymmetric asset liquidity (asym_asset for asymmetric asset liquidity)

affiliateAddress string REQUIRED

The affiliate address that would receive the fee. (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)

affiliateBasisPoints integer REQUIRED

Basis point to take from the trade (e.g. 50 for 0.5%), should be within 1-10000 range

assetAmount integer REQUIRED

Amount of asset to add

Responses
200

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

Schema
assetTxData object REQUIRED

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

runeTxData object

transaction data for Rune. (one of the response object for add liquidity memo)

assetAmount number

asset amount to add liquidity

recipient string

pool address to deposit asset

memo string

Memo to send with transaction

feeRate number

Fee rate for transaction

400

Error

Schema
message string

Message describing what required properties are missing or invalid.

500

Error

Schema
message string

Message describing the problem.