For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Current Block

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

get

Get information about the current block

Authorizations
x-api-keystringRequired
Responses
200

Block information

application/json

Block information

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