One QSwap pool's live state, for adding or removing liquidity

Read live from QSwap's GetPoolBasicState. totalLiquidity includes the 1,000 units locked to the contract when the pool was created. Adding and removing liquidity each cost a flat 100,000 QU. Cached for 10 seconds; read the contract directly right before signing.

get/v1/liquidity/pool

Request

  • Base URL: https://qmax.exchange/api
  • URL: https://qmax.exchange/api/v1/liquidity/pool
  • Auth: none declared

Query parameters

assetstring required

The asset id, as in /v1/assets.

Response

The pool's reserves and total liquidity.

Changes

No recorded changes to this operation across all 1 revision of this API.