📍ftm.getHeaderByNumber()
Description: Retrieves a block header from the current canonical chain.
Parameters
Name
Type
Description
ctx
context
Execution context.
number
integer
The block number of the header. If < 0
, the latest known header is returned.
Returns
Type
Description
blockHeader
The block header from the current canonical chain.
Last updated