public class FeeBumpTransaction extends AbstractTransaction
MIN_BASE_FEE
Modifier and Type | Method and Description |
---|---|
static FeeBumpTransaction |
createWithBaseFee(@NonNull java.lang.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 java.lang.String feeSource,
long fee,
@NonNull Transaction innerTransaction)
Creates a new FeeBumpTransaction object, enabling you to resubmit an existing transaction with
a higher fee.
|
boolean |
equals(java.lang.Object object) |
static FeeBumpTransaction |
fromFeeBumpTransactionEnvelope(FeeBumpTransactionEnvelope envelope,
Network network) |
long |
getFee()
The max fee willing to be paid for this transaction.
|
@NonNull java.lang.String |
getFeeSource()
The account paying for the transaction fee.
|
@NonNull Transaction |
getInnerTransaction()
The inner transaction that is being wrapped by this fee bump transaction.
|
int |
hashCode() |
byte[] |
signatureBase()
Returns signature base.
|
TransactionEnvelope |
toEnvelopeXdr()
Generates TransactionEnvelope XDR object.
|
addSignature, fromEnvelopeXdr, fromEnvelopeXdr, getNetwork, getSignatures, getTransactionSignatureBase, hash, hashHex, sign, sign, toEnvelopeXdrBase64
public static FeeBumpTransaction createWithFee(@NonNull @NonNull java.lang.String feeSource, long fee, @NonNull @NonNull Transaction innerTransaction)
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.FeeBumpTransaction
public static FeeBumpTransaction createWithBaseFee(@NonNull @NonNull java.lang.String feeSource, long baseFee, @NonNull @NonNull Transaction innerTransaction)
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.FeeBumpTransaction
public static FeeBumpTransaction fromFeeBumpTransactionEnvelope(FeeBumpTransactionEnvelope envelope, Network network)
public byte[] signatureBase()
AbstractTransaction
signatureBase
in class AbstractTransaction
public TransactionEnvelope toEnvelopeXdr()
toEnvelopeXdr
in class AbstractTransaction
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
@NonNull public @NonNull java.lang.String getFeeSource()
public long getFee()
@NonNull public @NonNull Transaction getInnerTransaction()