trade
GET /v1/trade/slot0
GET /v1/trade/slot0
get/v1/trade/slot0
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
First token in the pool (format: collection$category$type$additionalKey)
Second token in the pool (format: collection$category$type$additionalKey)
fee500 | 3000 | 10000 required
Example:3000
Fee tier: 500 (0.05%), 3000 (0.3%), or 10000 (1%)
Response
Example response
{
"status": 200,
"message": "Pool value fetched successfully",
"data": {
"Status": 1,
"Message": "Synthetic chain read succeeded",
"ErrorCode": 404,
"ErrorKey": "POOL_NOT_FOUND",
"Data": {
"sqrtPrice": "1.0005",
"tick": 12,
"liquidity": "1250000",
"grossPoolLiquidity": "1500000"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.