v11

latestOpenAPI 3.1.0AGPL-3.0-onlyraw.githubusercontent.com2026-08-01307390.9 KB
Blocks

Get a block by height or hash.

Returns block information with paged transactions. When full transaction details are unavailable, the response can contain only transaction ids.

Blockbook follows the backend main chain. Height lookups always return the current main-chain block. Hash lookups can return a block from another fork only if the backend still keeps it.

Load estimate: Medium; grows mainly with block transaction count and requested page.

get/api/v2/block/{blockId}

Path parameters

blockIdstring required

Block height or block hash.

Query parameters

pageinteger

1-based page index. Values outside safe bounds are sanitized to the closest possible page.

Response

Block details.

pageinteger
totalPagesinteger
itemsOnPageinteger
hashstring required
previousBlockHashstring
nextBlockHashstring
heightinteger required
confirmationsinteger required
sizeinteger
timeinteger
merkleRootstring
noncestring
bitsstring
difficultystring
txstring[]

Transaction ids when full transactions are not returned.

txCountinteger required
addressAliasesAddressAliases

Example response

{
  "txs": [
    {
      "vin": [
        {
          "value": "100000000"
        }
      ],
      "vout": [
        {
          "value": "100000000"
        }
      ],
      "value": "100000000",
      "valueIn": "100000000",
      "fees": "100000000",
      "tokenTransfers": [
        {
          "value": "100000000",
          "multiTokenValues": [
            {
              "id": "100000000",
              "value": "100000000"
            }
          ]
        }
      ],
      "ethereumSpecific": {
        "gasPrice": "100000000",
        "effectiveGasPrice": "100000000",
        "maxPriorityFeePerGas": "100000000",
        "maxFeePerGas": "100000000",
        "baseFeePerGas": "100000000",
        "l1GasPrice": "100000000",
        "internalTransfers": [
          {
            "value": "100000000"
          }
        ]
      }
    }
  ]
}