isValidTransactionDigest function

bool isValidTransactionDigest(
  1. String value
)

Implementation

bool isValidTransactionDigest(
  String value
) {
  return
    base64Decode(value).length == TX_DIGEST_LENGTH &&
    VALID_BASE64_REGEX.hasMatch(value);
}