Steem LogoSDS API Reference0.1.10


blocks_api

/ getBlocksInRange / :fromBlockNum - :toBlockNum / :withTransactions? / :withVirtualOps?


Description

Returns the blocks for the given range (:fromBlockNum to :toBlockNum).

Example

/blocks_api/getBlocksInRange/50000001-50000100

Parameters

NameTypeOptionalDefaultMin.Max.Allowed Values
:fromBlockNumintNo190855213
:toBlockNumintNo190855213
:withTransactionsboolYestrue
- true
- false
- 1
- 0
:withVirtualOpsboolYestrue
- true
- false
- 1
- 0

Ranges

[
   {
      "from": "fromBlockNum",
      "to": "toBlockNum",
      "limit": 250
   }
]

Max. Limit

250

Result

JSON Array