📍ftm.getHeaderByHash()

Description: Retrieves a block header from the database by hash, caching it if found.

Parameters

Name

Type

Description

hash

string

The common hash of the block.

Returns

Type

Description

header

The block header retrieved from the database.

Last updated