getDigestFromBytes static method

String getDigestFromBytes(
  1. Uint8List bytes
)

Generate transaction digest.

Implementation

static String getDigestFromBytes(Uint8List bytes) {
	final hash = hashTypedData('TransactionData', bytes);
	return toB58(hash);
}