Skip to main content

readBlockHashFile

readBlockHashFile(seedPath: string, blockIndex: bigint, signal?: AbortSignal): Promise<Digest>

Read one block hash from a Node seed file without exposing Buffer in core APIs.

Parameters

NameTypeDescription
seedPathstringParameter seedPath of readBlockHashFile.
blockIndexbigintParameter blockIndex of readBlockHashFile.
signalAbortSignalParameter signal of readBlockHashFile.

Returns

Promise<Digest>

Source

This page is generated from SDK source metadata and the translation catalog.