toTxnDigest

Extension function to create a TransactionDigest from a String.