Creates a BlockHash from a string with validation
The hash string to validate and convert
A validated BlockHash
If the hash is invalid
const hash = createBlockHash('1234567890abcdef...') Copy
const hash = createBlockHash('1234567890abcdef...')
Creates a BlockHash from a string with validation