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