Query finalized block information. Useful for debugging, auditing, and historical analysis.
Show the latest finalized block.
agcli block latest
# JSON: {"number", "hash", "parent_hash", "timestamp", "extrinsic_count"}Show details for a specific block.
agcli block info --number 4000000
# JSON: {"number", "hash", "parent_hash", "state_root", "timestamp", "extrinsics": [...]}Query a range of blocks (max 1000).
agcli block range --from 3999900 --to 4000000Parallel queries for each block in range. Shows number, hash, extrinsic count, timestamp.
agcli handler: src/cli/block_cmds.rs — handle_block() at L9, subcommands: Info L11, Range L50, Latest L109
On-chain: read-only queries using subxt block APIs (get_block, get_block_hash).
agcli diff— Compare chain state between two blocksagcli subscribe blocks— Watch blocks in real-timeagcli --network archive block info --number N— Query historical blocks