Interface SignedTransaction<T extends Transaction>

Type Parameters:
T - The type of Transaction that was signed.
All Known Subinterfaces:
MultiSignedTransaction<T>, SingleSingedTransaction<T>
All Known Implementing Classes:
ImmutableMultiSignedTransaction, ImmutableSingleSingedTransaction

public interface SignedTransaction<T extends Transaction>
Holds the bytes for a multi-signed XRPL transaction.
  • Method Details

    • unsignedTransaction

      T unsignedTransaction()
      The original transaction with no signature attached.
      Returns:
      A Transaction.
    • signedTransaction

      T signedTransaction()
      The transaction with a signature blob attached.
      Returns:
      A Transaction.
    • signedTransactionBytes

      UnsignedByteArray signedTransactionBytes()
      The signedTransaction() encoded into bytes that are suitable for submission to the XRP Ledger.
      Returns:
      A byte-array containing the signed transaction blob.
    • hash

      default Hash256 hash()
      The hash of the 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 with signedTransactionBytes().
      Returns:
      A Hash256 containing the transaction hash.