trade-v2
A wallet's positions across all new-contract pools
A wallet's positions across all new-contract pools
get/v2/trade/positions
Request
- Base URLhttps://swap-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
userstring required
Response
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.