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
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