Class FeeBumpTransaction

java.lang.Object
org.stellar.sdk.AbstractTransaction
org.stellar.sdk.FeeBumpTransaction

public class FeeBumpTransaction extends AbstractTransaction
Represents Fee Bump Transaction in Stellar network.
See Also:
  • Method Details

    • createWithFee

      public static FeeBumpTransaction createWithFee(@NonNull @NonNull String feeSource, long fee, @NonNull @NonNull Transaction innerTransaction)
      Creates a new FeeBumpTransaction object, enabling you to resubmit an existing transaction with a higher fee.
      Parameters:
      feeSource - The account paying for the transaction fee.
      fee - Max fee willing to pay for this transaction (in stroops)
      innerTransaction - The inner transaction that is being wrapped by this fee bump transaction.
      Returns:
      FeeBumpTransaction
    • createWithBaseFee

      public static FeeBumpTransaction createWithBaseFee(@NonNull @NonNull String feeSource, long baseFee, @NonNull @NonNull Transaction innerTransaction)
      Creates a new FeeBumpTransaction object, enabling you to resubmit an existing transaction with a higher fee.
      Parameters:
      feeSource - The account paying for the transaction fee.
      baseFee - Max fee willing to pay per operation in inner transaction (in stroops)
      innerTransaction - The inner transaction that is being wrapped by this fee bump transaction.
      Returns:
      FeeBumpTransaction
    • fromFeeBumpTransactionEnvelope

      public static FeeBumpTransaction fromFeeBumpTransactionEnvelope(FeeBumpTransactionEnvelope envelope, Network network)
    • signatureBase

      public byte[] signatureBase()
      Description copied from class: AbstractTransaction
      Returns signature base.
      Specified by:
      signatureBase in class AbstractTransaction
      Returns:
      the signature base
    • toEnvelopeXdr

      public TransactionEnvelope toEnvelopeXdr()
      Generates TransactionEnvelope XDR object.
      Specified by:
      toEnvelopeXdr in class AbstractTransaction
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getFeeSource

      @NonNull public @NonNull String getFeeSource()
      The account paying for the transaction fee. (in stroops)
    • getFee

      public long getFee()
      The max fee willing to be paid for this transaction.
    • getInnerTransaction

      @NonNull public @NonNull Transaction getInnerTransaction()
      The inner transaction that is being wrapped by this fee bump transaction.