returnHashString static method

MemoReturnHash returnHashString(
  1. String hexString
)

Creates MemoReturnHash instance from hex-encoded string.

Implementation

static MemoReturnHash returnHashString(String hexString) {
  // We change to lowercase because we want to decode both: upper cased and lower cased alphabets.
  return MemoReturnHash(Util.hexToBytes(hexString.toLowerCase()));
}