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
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
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
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
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
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
Token to provide liquidity (e.g. BTC.BTC)
type of position
type of withdraw
Percentage of liquidity to withdraw, Minimum 1, Maximum 100