Home > eth-connect > isPredefinedBlockNumber
Returns true if the provided blockNumber is 'latest', 'pending' or 'earliest
Signature:
export declare function isPredefinedBlockNumber(blockNumber: Quantity | Tag): blockNumber is Tag;
Parameter | Type | Description |
---|---|---|
blockNumber | Quantity | Tag | The given blocknumber |
Returns:
blockNumber is Tag