Get blocks
Get blocks
Request
- Base URL: https://insight.thirdweb.com
- URL: https://insight.thirdweb.com/v1/blocks
- Auth: API key in header x-client-id
Query parameters
Use chain_id instead
[ 20, 56, 1 ]
The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., ?chain_id=20&chain_id=56. Optional, because a single chain can as well be specified as a subdomain
[ 20, 56, 1 ]
Filter by block number
Filter by block number greater than or equal to
Filter by block number greater than
Filter by block number less than or equal to
Filter by block number less than
Filter by block timestamp
Filter by block timestamp greater than or equal to
Filter by block timestamp greater than
Filter by block timestamp less than or equal to
Filter by block timestamp less than
Sort order (asc or desc)
Aggregation(s). You can specify multiple with repeated query parameters, e.g., ?aggregate=count()&aggregate=sum(gas_used)
Filter by hash
The number of items to return
Page number (0-indexed). Maximum value depends on query parameters: 20 for regular queries, 500 when using aggregate or group_by parameters.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.