GET
/
block
/
{hash}
Block
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/block/{hash} \
  --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

hash
string
required

The block hash to retrieve information for.

Example:

"00000000000000000001b9dca5d168a8e959df258814beec486572e843fddee5"

Response

200
application/json

Block metadata

The response is of type object.