|
@ -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). |
|
|