docs: document max entries for /blockchain RPC (#5356)

Closes #5339
This commit is contained in:
Anton Kaliaev
2020-09-15 11:55:27 +04:00
committed by GitHub
parent 56911ee352
commit 8aac1d1333

View File

@@ -605,7 +605,7 @@ paths:
$ref: "#/components/schemas/ErrorResponse" $ref: "#/components/schemas/ErrorResponse"
/blockchain: /blockchain:
get: get:
summary: Get block headers for minHeight <= height <= maxHeight. summary: Get block headers (max: 20) for minHeight <= height <= maxHeight.
operationId: blockchain operationId: blockchain
parameters: parameters:
- in: query - in: query
@@ -623,7 +623,9 @@ paths:
tags: tags:
- Info - Info
description: | description: |
Get Blockchain info. Get block headers for minHeight <= height maxHeight.
At most 20 items will be returned.
responses: responses:
"200": "200":
description: Block headers, returned in descending order (highest first). description: Block headers, returned in descending order (highest first).