Package org.xrpl.xrpl4j.crypto.core
Class TransactionHashUtils
java.lang.Object
org.xrpl.xrpl4j.crypto.core.TransactionHashUtils
Helper class to assemble hash values for a given transaction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Transaction>
Hash256computeHash
(UnsignedByteArray signedTransactionBytes) Computes the SHA-256 hash of the supplied bytes.
-
Constructor Details
-
TransactionHashUtils
public TransactionHashUtils()
-
-
Method Details
-
computeHash
Computes the SHA-256 hash of the supplied bytes.- Type Parameters:
T
- A typeTransactionHashUtils
.- Parameters:
signedTransactionBytes
- AnUnsignedByteArray
to be hashed.- Returns:
- A
Hash256
.
-