Get Current Sum Of Subnet Prices
Endpoint
Section titled “Endpoint”GET /api/dtao/pool/total_price/latest/v1Try it
Section titled “Try it”Parameters
Section titled “Parameters”No parameters.
Responses
Section titled “Responses”200 — Pool total price retrieved successfully
Section titled “200 — Pool total price retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "block_number", "timestamp", "price", "alpha_volume", "alpha_sell_volume", "alpha_buy_volume", "root_volume", "root_sell_volume", "root_buy_volume", "fear_and_greed_index", "fear_and_greed_sentiment" ], "properties": { "alpha_buy_volume": { "type": "string" }, "alpha_sell_volume": { "type": "string" }, "alpha_volume": { "type": "string" }, "block_number": { "type": "integer", "format": "int32" }, "fear_and_greed_index": { "type": "string" }, "fear_and_greed_sentiment": { "type": "string" }, "price": { "type": "string" }, "root_buy_volume": { "type": "string" }, "root_sell_volume": { "type": "string" }, "root_volume": { "type": "string" }, "timestamp": { "type": "string", "format": "date-time" } } } }, "pagination": { "type": "object", "required": [ "current_page", "per_page", "total_items", "total_pages" ], "properties": { "current_page": { "type": "integer", "format": "int32" }, "next_page": { "type": "integer", "format": "int32", "nullable": true }, "per_page": { "type": "integer", "format": "int32" }, "prev_page": { "type": "integer", "format": "int32", "nullable": true }, "total_items": { "type": "integer", "format": "int32" }, "total_pages": { "type": "integer", "format": "int32" } } } }}Examples
{ "Result": { "value": "{}" }}400 — Bad request
Section titled “400 — Bad request”404 — Pool total price not found
Section titled “404 — Pool total price not found”500 — Internal server error
Section titled “500 — Internal server error”Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.