searchBlockHeader
Usage: storage.searchBlockHeader(identifier)
Description: Returns the blockHeader matching the provided identifier if it is stored.
Parameters:
parameters | type | required | Description |
---|---|---|---|
identifier | String/Number | yes | The BlockHeader identifier (hash or height) to search for |
Returns : BlockHeader.