trade

GET /v1/trade/slot0

GET /v1/trade/slot0

get/v1/trade/slot0

Request

Query parameters

collectionstring required
categorystring required
typestring required
additionalKeystring required

First token in the pool (format: collection$category$type$additionalKey)

collectionstring required
categorystring required
typestring required
additionalKeystring required

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

statusnumber required
errorfalse required
messagestring

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.