Get Subnet Registration Cost History
Endpoint
Section titled “Endpoint”GET /api/subnet/registration_cost/history/v1Try it
Section titled “Try it”Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
block_number | query | integer | The exact block number | |
block_start | query | integer | Start of block range (inclusive) | |
block_end | query | integer | End of block range (inclusive) | |
timestamp_start | query | integer | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
timestamp_end | query | integer | End of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
page | query | integer | The page number of the response. | |
limit | query | integer | The number of responses. max is 200, | |
order | query | — |
Responses
Section titled “Responses”200 — Subnet registration cost retrieved successfully
Section titled “200 — Subnet registration cost retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "block_number", "timestamp", "registration_cost", "is_purchase" ], "properties": { "block_number": { "type": "integer", "format": "int32" }, "is_purchase": { "type": "boolean" }, "registration_cost": { "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": "{\n \"pagination\": {\n \"current_page\": 1,\n \"per_page\": 5,\n \"total_items\": 584,\n \"total_pages\": 117,\n \"next_page\": 2,\n \"prev_page\": null\n },\n \"data\": [\n {\n \"block_number\": 4107489,\n \"timestamp\": \"2024-10-23T17:23:24Z\",\n \"registration_cost\": \"1223897705583\"\n },\n {\n \"block_number\": 4102273,\n \"timestamp\": \"2024-10-22T23:59:48Z\",\n \"registration_cost\": \"1406549136847\"\n },\n {\n \"block_number\": 4095074,\n \"timestamp\": \"2024-10-21T23:59:48.003Z\",\n \"registration_cost\": \"1658640328118\"\n },\n {\n \"block_number\": 4087874,\n \"timestamp\": \"2024-10-20T23:59:48Z\",\n \"registration_cost\": \"1910766536918\"\n },\n {\n \"block_number\": 4080697,\n \"timestamp\": \"2024-10-19T23:59:48.001Z\",\n \"registration_cost\": \"1111429740392\"\n }\n ]\n}" }}400 — Bad request
Section titled “400 — Bad request”404 — Subnet registration cost not found
Section titled “404 — Subnet registration cost 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.