public class TransactionUtils
extends java.lang.Object
| Constructor and Description |
|---|
TransactionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
generateTransactionHash(RawTransaction rawTransaction,
byte chainId,
Credentials credentials)
Utility method to provide the transaction hash for a given transaction.
|
static byte[] |
generateTransactionHash(RawTransaction rawTransaction,
Credentials credentials)
Utility method to provide the transaction hash for a given transaction.
|
static java.lang.String |
generateTransactionHashHexEncoded(RawTransaction rawTransaction,
byte chainId,
Credentials credentials)
Utility method to provide the transaction hash for a given transaction.
|
static java.lang.String |
generateTransactionHashHexEncoded(RawTransaction rawTransaction,
Credentials credentials)
Utility method to provide the transaction hash for a given transaction.
|
public static byte[] generateTransactionHash(RawTransaction rawTransaction, Credentials credentials)
rawTransaction - we wish to sendcredentials - of the senderpublic static byte[] generateTransactionHash(RawTransaction rawTransaction, byte chainId, Credentials credentials)
rawTransaction - we wish to sendchainId - of the intended chaincredentials - of the senderpublic static java.lang.String generateTransactionHashHexEncoded(RawTransaction rawTransaction, Credentials credentials)
rawTransaction - we wish to sendcredentials - of the senderpublic static java.lang.String generateTransactionHashHexEncoded(RawTransaction rawTransaction, byte chainId, Credentials credentials)
rawTransaction - we wish to sendchainId - of the intended chaincredentials - of the sender