Get block by hash or height
Blocks
Get block by hash or height
GET
Get block by hash or height
Authorizations
JWT Token Authentication
Path Parameters
Pattern:
^([a-fA-F0-9]{64}|[0-9]{1,8})$Query Parameters
Available options:
CARDANO_MAINNET, CARDANO_PREPROD, CARDANO_PREVIEW, APEX_PRIME_MAINNET, APEX_VECTOR_MAINNET, APEX_VECTOR_TESTNET, MIDNIGHT_MAINNET, MIDNIGHT_PREPROD, MIDNIGHT_PREVIEW, BITCOIN_MAINNET, BITCOIN_TESTNET4 Response
200 - */*
OK
Bitcoin block
Block hash
Block height
Block timestamp (epoch seconds)
Median time past (epoch seconds)
Number of transactions in this block
Block size in bytes
Stripped (witness-stripped) size in bytes
Block weight (BIP141)
Block version
Merkle root
Nonce
Difficulty bits (compact target)
Difficulty
Chainwork as hex
Hash of the previous block
Hash of the next block, if any
Number of confirmations