cURL
curl --request GET \ --url https://data-api.cloud.ormi.dev/somnia/v1/blocks/{startDate}/{endDate}
{ "items": [ { "extra_data": "<string>", "gas_limit": "<string>", "gas_used": "<string>", "hash": "<string>", "miner": "<string>", "number": 123, "parent_hash": "<string>", "timestamp": "2023-11-07T05:31:56Z" } ], "count": 123, "cursor": "<string>" }
Get all block heights within a particular date range.
The start date in YYYY-MM-DD format.
The end date in YYYY-MM-DD format.
The cursor returned in previous response (for getting the next page).
Number of records to fetch
1 <= x <= 100
OK
Show child attributes