Skip to content

nooschain v0.1.0


nooschain / sync/block-sync-service / getBlock

Function: getBlock()

getBlock(database, height): Promise<BlockDto | null>

Defined in: sync/block-sync-service.ts:235

Loads one full block by height.

Parameters

database

SyncDatabase

height

string | number | bigint

Returns

Promise<BlockDto | null>

Audience-first NOOSChain documentation.