Interface SingleSingedTransaction<T extends Transaction>
- Type Parameters:
T
- The type ofTransaction
that was signed.
- All Superinterfaces:
SignedTransaction<T>
- All Known Implementing Classes:
ImmutableSingleSingedTransaction
@Immutable
public interface SingleSingedTransaction<T extends Transaction>
extends SignedTransaction<T>
Holds the bytes for a signed XRPL transaction.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Transaction>
ImmutableSingleSingedTransaction.Builder<T>builder()
A builder.default Hash256
hash()
The hash of theSignedTransaction.signedTransactionBytes()
which can be used as a handle to the transaction even though the transaction hasn't yet been submitted to the XRP Ledger.The signature and public key used to sign.Methods inherited from interface org.xrpl.xrpl4j.crypto.core.signing.SignedTransaction
signedTransaction, signedTransactionBytes, unsignedTransaction
-
Method Details
-
builder
A builder.- Type Parameters:
T
- An instance ofTransaction
.- Returns:
- An
ImmutableSingleSingedTransaction.Builder
.
-
signature
Signature signature()The signature and public key used to sign.- Returns:
- A byte-array.
-
hash
Description copied from interface:SignedTransaction
The hash of theSignedTransaction.signedTransactionBytes()
which can be used as a handle to the transaction even though the transaction hasn't yet been submitted to the XRP Ledger. This field is derived by computing the SHA512-Half of the Signed Transaction hash prefix concatenated withSignedTransaction.signedTransactionBytes()
.- Specified by:
hash
in interfaceSignedTransaction<T extends Transaction>
- Returns:
- A
Hash256
containing the transaction hash.
-