Blockscout — List blocks with optional filtering by block type
blockscout_get_chain_id_api_v2_blocksRetrieves a paginated list of blocks ordered by descending block number. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by block type: * block - Standard blocks in the main chain * uncle - Uncle/ommer blocks (valid but not in main chain) * reorg - Blocks from chain reorganizations If omitted, default value "block" is used. | |
| chain_id | Yes | The ID of the blockchain | |
| items_count | No | Number of items per page | |
| block_number | No | Block number for paging |