UNPKG

@dashevo/wallet-lib

Version:
11 lines (7 loc) 658 B
**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](https://github.com/dashpay/dashcore-lib/blob/master/docs/core-concepts/block.md#block-header).