Package org.stellar.sdk
Class FeeBumpTransaction
java.lang.Object
org.stellar.sdk.AbstractTransaction
org.stellar.sdk.FeeBumpTransaction
Represents Fee Bump Transaction in Stellar network.
- See Also:
-
Field Summary
Fields inherited from class org.stellar.sdk.AbstractTransaction
MIN_BASE_FEE
-
Method Summary
Modifier and TypeMethodDescriptionstatic FeeBumpTransaction
createWithBaseFee
(@NonNull String feeSource, long baseFee, @NonNull Transaction innerTransaction) Creates a new FeeBumpTransaction object, enabling you to resubmit an existing transaction with a higher fee.static FeeBumpTransaction
createWithFee
(@NonNull String feeSource, long fee, @NonNull Transaction innerTransaction) Creates a new FeeBumpTransaction object, enabling you to resubmit an existing transaction with a higher fee.boolean
static FeeBumpTransaction
fromFeeBumpTransactionEnvelope
(FeeBumpTransactionEnvelope envelope, Network network) long
getFee()
The max fee willing to be paid for this transaction.@NonNull String
The account paying for the transaction fee.@NonNull Transaction
The inner transaction that is being wrapped by this fee bump transaction.int
hashCode()
byte[]
Returns signature base.Generates TransactionEnvelope XDR object.Methods inherited from class org.stellar.sdk.AbstractTransaction
addSignature, fromEnvelopeXdr, fromEnvelopeXdr, getNetwork, getSignatures, getTransactionSignatureBase, hash, hashHex, sign, sign, toEnvelopeXdrBase64
-
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 classAbstractTransaction
- Returns:
- the signature base
-
toEnvelopeXdr
Generates TransactionEnvelope XDR object.- Specified by:
toEnvelopeXdr
in classAbstractTransaction
-
equals
-
hashCode
public int hashCode() -
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
The inner transaction that is being wrapped by this fee bump transaction.
-