Skip to main content

Listing of previous blocks

GET /blocks/:hash_or_number/previous

Return the list of blocks preceding a specific block.

Request

Path Parameters

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

    Hash of the requested block

    Example: 4873401

Query Parameters

    count integer

    Possible values: >= 1 and <= 100

    Default value: 100

    The number of results displayed on one page.

    page integer

    Possible values: >= 1 and <= 21474836

    Default value: 1

    The page number for listing the results.

Responses

Return the contents of the block


Schema
  • Array [
  • time integer required

    Block creation time in UNIX time

    height integer nullable required

    Block number

    hash string required

    Hash of the block

    slot integer nullable required

    Slot number

    epoch integer nullable required

    Epoch number

    epoch_slot integer nullable required

    Slot within the epoch

    slot_leader string required

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

    size integer required

    Block size in Bytes

    tx_count integer required

    Number of transactions in the block

    output string nullable required

    Total output within the block in Lovelaces

    fees string nullable required

    Total fees within the block in Lovelaces

    block_vrf string nullable required

    Possible values: >= 65 characters and <= 65 characters

    VRF key of the block

    op_cert string nullable required

    The hash of the operational certificate of the block producer

    op_cert_counter string nullable required

    The value of the counter used to produce the operational certificate

    previous_block string nullable required

    Hash of the previous block

    next_block string nullable required

    Hash of the next block

    confirmations integer required

    Number of block confirmations

  • ]
Loading...