๐Stats
This documentation provides details on the API endpoints available for Whirlprivacy.io, focusing on stats-related operations.
Last updated
This documentation provides details on the API endpoints available for Whirlprivacy.io, focusing on stats-related operations.
Last updated
GET /stats/global
- Global StatisticsThis endpoint retrieves comprehensive global statistics related to the Whirl token.
No parameters are needed for this request.
Error Name | Description |
---|---|
GET /stats/tvl
- Total Value Locked (TVL)This endpoint retrieves the Total Value Locked (TVL) statistics, aggregated by a specified granularity.
GET /stats/vol
- Trading VolumeThis endpoint retrieves trading volume statistics, broken down by the same granularity as specified in the request.
GET /stats/tokens
- Token DataThis endpoint retrieves detailed data about the Whirl token and other currencies.
No parameters are needed for this request.
Parameter | Type | Description |
---|---|---|
Error Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Error Name | Description |
---|---|
Error Name | Description |
---|---|
InvalidToken
The provided token is invalid or expired.
ServerError
An internal server error occurred.
granularity
integer
The granularity level for data aggregation (e.g., 1 for daily).
InvalidRequest
The request parameters are invalid.
ServerError
An internal server error occurred.
granularity
integer
The granularity level for data aggregation (e.g., 1 for daily).
InvalidRequest
The request parameters are invalid.
ServerError
An internal server error occurred.
InvalidToken
The provided token is invalid or expired.
ServerError
An internal server error occurred.