trade-v2

One position incl. uncollected fees (escrow balance)

One position incl. uncollected fees (escrow balance)

get/v2/trade/position

Request

Query parameters

token0string required
token1string required
fee0 | 500 | 3000 | 10000 required
ownerstring required
tickLowernumber required
tickUppernumber required

Response

statusnumber required
messagestring required
errorboolean required

Example response

{
  "status": 200,
  "message": "Response fetched successfully",
  "data": {
    "fee": 3000,
    "token0CompositeKey": "GALA$Unit$none$none",
    "token1CompositeKey": "GUSDC$Unit$none$none",
    "pool": "GALA$GUSDC$3000",
    "token0Symbol": "GALA",
    "token1Symbol": "GUSDC",
    "tickLower": -120,
    "tickUpper": 120,
    "owner": "client|000000000000000000000000",
    "liquidity": "1000",
    "amount0": "10",
    "amount1": "20",
    "inRange": true,
    "sqrtPrice": "1.118",
    "fees0": "0",
    "fees1": "0"
  }
}

Changes

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