starknet_getBlockWithTxHashes

Get block information with transaction hashes given the block id

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
block_idobject or enumRequired

The hash of the requested block, or number (height) of the requested block, or a block tag

Response

The resulting block information with transaction hashes

Block with transaction hashesobject

The block object

OR
Pending block with transaction hashesobject

The dynamic block being constructed by the sequencer. Note that this object will be deprecated upon decentralization.