nooschain / sync/block-sync-service / getBlockRange
Function: getBlockRange()
getBlockRange(
database,fromHeight,toHeight,limit?):Promise<BlockDto[]>
Defined in: sync/block-sync-service.ts:309
Loads full blocks for a bounded inclusive height range.
Parameters
database
fromHeight
string | number | bigint
toHeight
string | number | bigint
limit?
number
Returns
Promise<BlockDto[]>