The Blocks API provides endpoints for retrieving block data from the Cardano blockchain. You can query the latest block, fetch historical blocks with pagination, or retrieve detailed information about specific blocks by hash.Documentation Index
Fetch the complete documentation index at: https://nexus.gerowallet.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Available endpoints
Get latest block
Retrieve the most recent block on the blockchain
Get block by hash
Fetch detailed information about a specific block
List blocks
Get a paginated list of blocks
Networks
All block endpoints support multiple Cardano networks:| Network | Description |
|---|---|
MAINNET | Cardano mainnet (production) |
PREPROD | Pre-production testnet |
PREVIEW | Preview testnet |
TESTNET | Legacy testnet |
SANCHO | Governance testnet |
network query parameter to specify which network to query. The
default is PREPROD.
Block data structure
Each block response includes:- hash - Unique block identifier (64 hex characters)
- height - Block height (sequential number)
- slot - Slot number within the epoch
- epoch - Epoch number containing this block
- epoch_slot - Slot position within the epoch
- slot_leader - Pool ID of the block producer
- size - Block size in bytes
- tx_count - Number of transactions in the block
- output - Total output value in lovelace
- fees - Total fees collected in lovelace
- block_vrf - VRF verification key hash
- previous_block - Hash of the previous block
- next_block - Hash of the next block (null for latest)
- confirmations - Number of confirmations