Liquidity API
Build transactions that interact with THORChain's liquidity
Last updated
Was this helpful?
Build transactions that interact with THORChain's liquidity
Last updated
Was this helpful?
Endpoint to get transaction memo for adding asym asset liquidity
/aggregator/liquidity/add/asym_asset
Token to provide liquidity (e.g. ETH.ETH)
The affiliate address that would receive the fee. (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Basis point to take from the trade (e.g. 50 for 0.5%), should be within 1-10000 range
Amount of asset to add (e.g 15.5)
Thorchain Address (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Asset Address (e.g. 0x991A9B64805260c02702B3bCDF8c269dA98563aB)
Endpoint to get transaction memo for adding sym liquidity
/aggregator/liquidity/add/sym
Token to provide liquidity (e.g. ETH.ETH)
The affiliate address that would receive the fee. (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Basis point to take from the trade (e.g. 50 for 0.5%), should be within 1-10000 range
Amount of asset to add (e.g 15.5), can be omitted if runeAmount is provided,then assetAmount will be calculated using runeAmount
Amount of asset to add (e.g 1000), can be omitted if assetAmount is provided,then runeAmount will be calculated using assetAmount
Thorchain Address (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Asset Address (e.g. 0x991A9B64805260c02702B3bCDF8c269dA98563aB)
Endpoint to get transaction memo for adding symmetrical asset liquidity
/aggregator/liquidity/add/sym_asset
Token to provide liquidity (e.g. ETH.ETH)
The affiliate address that would receive the fee. (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Basis point to take from the trade (e.g. 50 for 0.5%), should be within 1-10000 range
Amount of asset to add (e.g 15.5)
Thorchain Address (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Asset Address (e.g. 0x991A9B64805260c02702B3bCDF8c269dA98563aB)
Endpoint to get transaction memo for adding symmetrical asset liquidity
/aggregator/liquidity/add/sym_rune
Token to provide liquidity (e.g. ETH.ETH)
The affiliate address that would receive the fee. (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Basis point to take from the trade (e.g. 50 for 0.5%), should be within 1-10000 range
Amount of rune to add (e.g 15.5)
Thorchain Address (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Asset Address (e.g. 0x991A9B64805260c02702B3bCDF8c269dA98563aB)
Endpoint to get transaction memo for adding symmetrical asset liquidity
/aggregator/liquidity/add/single_sided
Token to provide liquidity (e.g. ETH.ETH)
The affiliate address that would receive the fee. (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Basis point to take from the trade (e.g. 50 for 0.5%), should be within 1-10000 range
Amount of asset to add (e.g 15.5)
Thorchain Address (e.g. thor160yye65pf9rzwrgqmtgav69n6zlsyfpgm9a7xk)
Asset Address (e.g. 0x991A9B64805260c02702B3bCDF8c269dA98563aB)
Endpoint to get transaction memo for withdrawing liquidity
/aggregator/liquidity/withdraw
Token to provide liquidity (e.g. BTC.BTC)
type of position
sym_rune
, sym_asset
, sym
, asym_asset
, single_sided
type of withdraw
asset
, rune
, sym
Percentage of liquidity to withdraw, Minimum 1, Maximum 100