Cardano » Blocks

Block transactions

Return the transactions within the block.

get/blocks/{hash_or_number}/txs

Request

  • Base URL
    https://cardano-mainnet.blockfrost.io/api/v0
  • URL
    https://cardano-mainnet.blockfrost.io/api/v0/blocks/{hash_or_number}/txs
  • Auth
    API key in header project_id

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.

order'asc' | 'desc'

Ordered by tx index in the block. The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.

Response

Return the contents of the block

string[] required

Example response

[
  "8788591983aa73981fc92d6cddbbe643959f5a784e84b8bee0db15823f575a5b",
  "4eef6bb7755d8afbeac526b799f3e32a624691d166657e9d862aaeb66682c036",
  "52e748c4dec58b687b90b0b40d383b9fe1f24c1a833b7395cdf07dd67859f46f",
  "e8073fd5318ff43eca18a852527166aa8008bee9ee9e891f585612b7e4ba700b"
]

Changes

No recorded changes to this operation across all 4 revisions of this API.