A wallet's QSwap liquidity positions
Every QSwap pool the wallet has liquidity in: its units, share of the pool, what removing it all would pay and its value in QU. Read live from the QSwap contract (GetLiquidityOf, GetPoolBasicState). valueQu = quOut + assetOut x (reserveQu / reserveAsset), where quOut = floor(liquidity x reserveQu / totalLiquidity) and assetOut = floor(liquidity x reserveAsset / totalLiquidity) are what removing everything pays before QSwap's flat 100,000 QU fee; the tokens are valued at the pool's own price, an estimate. earnedFees is the contract's own figure: the fees are already inside what you get when you remove, nothing pays them separately. Cached for 30 seconds per wallet.
Request
- Base URL: https://qmax.exchange/api
- URL: https://qmax.exchange/api/v1/liquidity/positions
- Auth: none declared
Query parameters
The wallet's 60-letter identity.
1 to skip a cached answer older than 5 seconds (after adding or removing liquidity).
Response
The positions (complete is false when a pool could not be read).
Changes
No recorded changes to this operation across all 1 revision of this API.