Browse Source

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

Closes #5339
pull/5358/head
Anton Kaliaev 4 years ago
committed by GitHub
parent
commit
8aac1d1333
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      rpc/openapi/openapi.yaml

+ 4
- 2
rpc/openapi/openapi.yaml View File

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


Loading…
Cancel
Save