Skip to content

nooschain v0.1.0


nooschain / sync/block-sync-service / getBlockByHash

Function: getBlockByHash()

getBlockByHash(database, hash): Promise<BlockDto | null>

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

Loads one full block by canonical hash.

Parameters

database

SyncDatabase

hash

string

Returns

Promise<BlockDto | null>

Audience-first NOOSChain documentation.