generateTransactionHash static method

String generateTransactionHash(
  1. List<int> txBody
)

generate transaction hash from signed tx.

Implementation

static String generateTransactionHash(List<int> txBody) {
  return BytesUtils.toHexString(QuickCrypto.sha3256Hash(
      [...AptosConstants.transactionHashDomain, 0, ...txBody]));
}