v1

latestOpenAPI 3.0.0MIT2026-07-17124105392.5 KB
Cardano » Blocks

Listing of previous blocks

Return the list of blocks preceding a specific block.

get/blocks/{hash_or_number}/previous

Path parameters

hash_or_numberstring 64-character case-sensitive hexadecimal string or block number. required

Hash of the requested block

Query parameters

countinteger

The number of results displayed on one page.

pageinteger

The page number for listing the results.

Response

Return the contents of the block

timeinteger required

Block creation time in UNIX time

heightinteger nullable required

Block number

hashstring required

Hash of the block

slotinteger nullable required

Slot number

epochinteger nullable required

Epoch number

epoch_slotinteger nullable required

Slot within the epoch

slot_leaderstring required

Bech32 ID of the slot leader or specific block description in case there is no slot leader

sizeinteger required

Block size in Bytes

tx_countinteger required

Number of transactions in the block

outputstring nullable required

Total output within the block in Lovelaces

feesstring nullable required

Total fees within the block in Lovelaces

block_vrfstring nullable required

VRF key of the block

op_certstring nullable required

The hash of the operational certificate of the block producer

op_cert_counterstring nullable required

The value of the counter used to produce the operational certificate

previous_blockstring nullable required

Hash of the previous block

next_blockstring nullable required

Hash of the next block

confirmationsinteger required

Number of block confirmations

Example response

[
  {
    "time": 1641338934,
    "height": 15243593,
    "hash": "4ea1ba291e8eef538635a53e59fddba7810d1679631cc3aed7c8e6c4091a516a",
    "slot": 412162133,
    "epoch": 425,
    "epoch_slot": 12,
    "slot_leader": "pool1pu5jlj4q9w9jlxeu370a3c9myx47md5j5m2str0naunn2qnikdy",
    "size": 3,
    "tx_count": 1,
    "output": "128314491794",
    "fees": "592661",
    "block_vrf": "vrf_vk1wf2k6lhujezqcfe00l6zetxpnmh9n6mwhpmhm0dvfh3fxgmdnrfqkms8ty",
    "op_cert": "da905277534faf75dae41732650568af545134ee08a3c0392dbefc8096ae177c",
    "op_cert_counter": "18",
    "previous_block": "43ebccb3ac72c7cebd0d9b755a4b08412c9f5dcb81b8a0ad1e3c197d29d47b05",
    "next_block": "8367f026cf4b03e116ff8ee5daf149b55ba5a6ec6dec04803b8dc317721d15fa",
    "confirmations": 4698
  }
]