Get CoinGecko Latest Block
Endpoint
Section titled “Endpoint”GET /api/coingecko/latest-blockTry it
Section titled “Try it”Parameters
Section titled “Parameters”No parameters.
Responses
Section titled “Responses”200 — Latest block retrieved successfully
Section titled “200 — Latest block retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "block" ], "properties": { "block": { "type": "object", "required": [ "blockNumber", "blockTimestamp" ], "properties": { "blockNumber": { "type": "integer", "format": "int32" }, "blockTimestamp": { "type": "integer", "format": "int64" } } } }}Examples
{ "Result": { "value": "{}" }}400 — Bad request
Section titled “400 — Bad request”404 — Latest block not found
Section titled “404 — Latest block 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.