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