GET
/
block
/
{height_or_hash}
Block Info
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/rpc/block/{height_or_hash} \
  --header 'api-key: <api-key>'
{
  "data": {
    "bits": "<string>",
    "chainwork": "<string>",
    "confirmations": 123,
    "difficulty": 123,
    "hash": "<string>",
    "height": 123,
    "mediantime": 123,
    "merkleroot": "<string>",
    "miner": {
      "addresses": [
        "<string>"
      ],
      "icon_url": "<string>",
      "name": "<string>",
      "tags": [
        "<string>"
      ],
      "url": "<string>"
    },
    "nTx": 123,
    "nonce": 123,
    "previousblockhash": "<string>",
    "size": 123,
    "strippedsize": 123,
    "time": 123,
    "tx": [
      "<string>"
    ],
    "version": 123,
    "versionHex": "<string>",
    "weight": 123
  },
  "last_updated": {
    "block_hash": "<string>",
    "block_height": 123
  }
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

height_or_hash
string
required

Block height or hash.

Query Parameters

page
integer
default:1

Page number for block transactions.

count
integer
default:100

Max number of block transactions per page.

verbose
boolean
default:false

Verbose.

Response

200
application/json

OK

The response is of type object.