OFFCHAIN-GEX

Get all liquidity positions for authenticated user

get/v2/offchain-gex/liquidity/positions

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
  • Auth: HTTP bearer

Response

User liquidity positions

poolIdstring required

Unique identifier of the pool where you provided liquidity

itemIdstring required

Item identifier in this pool

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

[
  {
    "poolId": "d42d3bbd-f5aa-4383-87c0-bc8924148722",
    "itemId": "100",
    "lpTokens": "44721359549995793928",
    "veeValue": "100000000000000000000",
    "itemValue": "5000000000000000000",
    "shareOfPool": 33.33
  }
]

Changes

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