-
The
/headers/
and/blockfilterheaders/
endpoints have been updated to use a query parameter instead of path parameter to specify the result count. The count parameter is now optional, and defaults to 5 for both endpoints. The old endpoints are still functional, and have no documented behaviour change.For
/headers
, useGET /rest/headers/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5>
instead ofGET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>
(deprecated)For
/blockfilterheaders/
, useGET /rest/blockfilterheaders/<FILTERTYPE>/<BLOCK-HASH>.<bin|hex|json>?count=<COUNT=5>
instead ofGET /rest/blockfilterheaders/<FILTERTYPE>/<COUNT>/<BLOCK-HASH>.<bin|hex|json>
(deprecated)(#24098)