OFFCHAIN-GEX

Get all liquidity positions for authenticated user

get/v2/offchain-gex/liquidity/positions/{poolId}

Request

  • Base URL: https://api.zee-verse.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.zee-verse.com/v2/offchain-gex/liquidity/positions/{poolId}
  • Auth: HTTP bearer

Path parameters

poolIdstring required

Response

User liquidity positions by pool id

lpTokensstring required

Your LP token balance for this pool (in wei). Can be burned to retrieve VEE and items

veeValuestring required

Current VEE value of your LP tokens (in wei). This is your share of the pool's VEE reserves

itemValuestring required

Current item value of your LP tokens (in wei, whole number). This is your share of the pool's item reserves

shareOfPoolnumber required

Your percentage ownership of this pool (0-100). Higher percentage means larger share of trading fees

Example response

{
  "lpTokens": "44721359549995793928",
  "veeValue": "100000000000000000000",
  "itemValue": "5000000000000000000",
  "shareOfPool": 33.33
}

Changes

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