Correct number of blocks returned for bulk-blocks

This commit is contained in:
hunicus 2023-02-28 04:15:45 -05:00
parent 852513500a
commit 54f7e59978
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9

View File

@ -2922,12 +2922,11 @@ export const restApiDocsData = [
fragment: "get-blocks-bulk",
title: "GET Blocks (Bulk)",
description: {
default: "Returns details on the range of blocks between <code>:minHeight</code> and <code>:maxHeight</code>, inclusive, up to 100 blocks. If <code>:maxHeight</code> is not specified, <code>:maxHeight</code> defaults to the current tip."
default: "<p>Returns details on the range of blocks between <code>:minHeight</code> and <code>:maxHeight</code>, inclusive, up to 10 blocks. If <code>:maxHeight</code> is not specified, it defaults to the current tip.</p><p>To return data for more than 10 blocks, consider becoming an <a href='/enterprise'>enterprise sponsor</a>.</p>"
},
urlString: "/v1/blocks-bulk/:minHeight[/:maxHeight]",
showConditions: bitcoinNetworks,
showJsExamples: showJsExamplesDefaultFalse,
specialAvailability: { enterprise: true },
codeExample: {
default: {
codeTemplate: {