Skip to main content
GET
/
blocks
/
{start_height}
Blocks
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/blocks/{start_height} \
  --header 'api-key: <api-key>'
[
  {
    "id": "<string>",
    "height": 123,
    "version": 123,
    "timestamp": 123,
    "mediantime": 123,
    "bits": 123,
    "nonce": 123,
    "difficulty": 123,
    "merkle_root": "<string>",
    "tx_count": 123,
    "size": 123,
    "weight": 123,
    "previousblockhash": "<string>",
    "extras": {}
  }
]

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

start_height
integer
required

The block height to start from.

Response

A list of 10 blocks starting from the given height

id
string
required

Block hash

height
integer
required
version
integer
required
timestamp
integer
required
bits
integer
required
nonce
integer
required
merkle_root
string
required
tx_count
integer
required
size
integer
required
weight
integer
required
previousblockhash
string
required
mediantime
integer
difficulty
number
extras
object

Optional explorer-specific metadata