Get Current Block

Returns the latest Bitcoin block with height, hash, timestamp, and more.

get

Get information about the current block

Authorizations
Responses
200

Block information

application/json
get
GET /v1/block/current 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