Solana · Arazzo Workflow
Solana Inspect a Confirmed Block at the Current Slot
Version 1.0.0
Resolve the current slot, fetch its block, and read the block's timestamp and commitment.
Provider
Workflows
block-inspection
Fetch and characterize the block at the node's current confirmed slot.
Walks from the current slot to a full block, its production time, and its commitment level.
1
currentSlot
getSlot
Resolve the slot the node has most recently processed, used as the target for the block read.
2
fetchBlock
getBlock
Fetch the confirmed block at the resolved slot with full transaction detail, its parent linkage, and the rewards paid to the block producer.
3
blockTime
getBlockTime
Read the estimated production time of the block as a Unix timestamp, which is how on-chain slots get mapped onto wall-clock time.
4
blockCommitment
getBlockCommitment
Read how much stake has voted on the slot and the cluster's total active stake, the ratio that determines whether the block can still be rolled back.