computeNearHashFromTxBytes static method

String computeNearHashFromTxBytes(
  1. Uint8List txData
)

Implementation

static String computeNearHashFromTxBytes(Uint8List txData) {
  final hash = SHA256Digest().process(txData).toList();
  return base58.encode(Uint8List.fromList(hash));
}