Get multiple blocks within a specified range
Documentation Index
Fetch the complete documentation index at: https://docs.sonarx.com/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Contact SonarX to obtain your API key.
The blockchain network to query
polygon "polygon"
Maximum number of results (1-50)
1 <= x <= 50Number of results to skip for pagination
x >= 0Request body for filtering blocks. Validation rules: (1) Must provide either block range OR datetime range, not both and not neither. (2) When using block range, both from_block AND to_block are required. (3) When using datetime range, both from_datetime AND to_datetime are required. (4) to_block must be >= from_block. (5) to_datetime must be >= from_datetime. (6) Block range cannot exceed 100 blocks.
Start block number. Required if using block range.
x >= 0End block number. Required if using block range. Must be >= from_block and within 100 blocks of from_block.
x >= 0Start datetime (ISO 8601, timezone required, e.g., 2024-01-15T10:30:00Z or 2024-01-15T10:30:00+00:00). Required if using datetime range.
End datetime (ISO 8601, timezone required, e.g., 2024-01-15T10:30:00Z or 2024-01-15T10:30:00+00:00). Required if using datetime range. Must be >= from_datetime.
Include full transaction objects