public class TransactionUtils extends Object
| 构造器和说明 |
|---|
TransactionUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 String |
generateTransactionHashHexEncoded(RawTransaction rawTransaction,
byte chainId,
Credentials credentials)
Utility method to provide the transaction hash for a given transaction.
|
static 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 String generateTransactionHashHexEncoded(RawTransaction rawTransaction, Credentials credentials)
rawTransaction - we wish to sendcredentials - of the senderpublic static String generateTransactionHashHexEncoded(RawTransaction rawTransaction, byte chainId, Credentials credentials)
rawTransaction - we wish to sendchainId - of the intended chaincredentials - of the senderCopyright © 2021. All rights reserved.