Blocks
Paginated block list, newest first
Changed onget/v1/blocks
Request
- The document declares no server URL.
- Auth: none declared
Query parameters
limitinteger
Page size, 1-200, default 50
cursorstring
Pagination cursor from a previous response
minerstring
Filter by miner address (0x-prefixed hex)
fromstring
Inclusive lower bound on block number (decimal)
tostring
Inclusive upper bound on block number (decimal)
Response
OK
Changes
- breaking
added the pattern
^(0x)?[0-9a-fA-F]{40}$to thequeryrequest parameterminer - breaking
added the pattern
^[0-9]+$to thequeryrequest parameterfrom - breaking
added the pattern
^[0-9]+$to thequeryrequest parameterto - warning
for the
queryrequest parameterfrom, the maxLength was set to20 - warning
for the
queryrequest parameterminer, the maxLength was set to42 - warning
for the
queryrequest parameterto, the maxLength was set to20
- breaking
- info
added the required property
////to the response with the status
- info