algokit_subscriber.block
¶
Module Contents¶
Functions¶
Retrieves blocks in bulk (30 at a time) between the given round numbers. |
API¶
- block_response_to_block_data(
- response: bytes,
- get_blocks_bulk( ) list[algokit_subscriber.types.block.BlockData] ¶
Retrieves blocks in bulk (30 at a time) between the given round numbers.
- Parameters:
context – A dictionary containing ‘startRound’ and ‘maxRound’
client – The algod client
- Returns:
The blocks