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.
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"
}
]
}
}
]
}