Get Block by Height
Returns block metadata (hash, timestamp, tx count, etc.) for a specific height.
get
Get information about a specific block by height
Authorizations
Path parameters
heightnumberRequired
Responses
200
Block information
application/json
400
Invalid input
application/json
401
Unauthorized
application/json
404
Not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
get
GET /v1/block/height/{height} HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"block": {
"height": 1,
"hash": "text",
"previousHash": "text",
"timestamp": "text"
}
}
Last updated