getBlock

Returns identity and transaction information about a confirmed block in the ledger.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
slotintegerRequired
Slot number as a u64 integer.
ConfigurationobjectOptional
Optional configuration object containing additional settings.

Response

Returns block information or null if the block is not confirmed.
blockhashstring or null
Blockhash of this block.
previousBlockhashstring or null
Blockhash of the parent block.
parentSlotinteger or null
Slot index of the parent block.
transactionslist of objects or null
Array of transaction objects.
signatureslist of strings or null
Array of transaction signatures.
rewardslist of objects or null

Block-level rewards.

blockTimeinteger or null
Estimated production time as Unix timestamp.
blockHeightinteger or null
Number of blocks beneath this block.