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.
blockhashstringOptional
Blockhash of this block.
previousBlockhashstringOptional
Blockhash of the parent block.
parentSlotintegerOptional
Slot index of the parent block.
transactionslist of objectsOptional
Array of transaction objects.
signatureslist of stringsOptional
Array of transaction signatures.
rewardslist of objectsOptional

Block-level rewards.

blockTimeintegerOptional
Estimated production time as Unix timestamp.
blockHeightintegerOptional
Number of blocks beneath this block.