public class Transaction extends AbstractTransaction
MIN_BASE_FEE
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
static Transaction |
fromV0EnvelopeXdr(TransactionV0Envelope envelope,
Network network) |
static Transaction |
fromV1EnvelopeXdr(TransactionV1Envelope envelope,
Network network) |
java.lang.String |
getClaimableBalanceId(int index)
Returns the claimable balance ID for the CreateClaimableBalanceOperation at the given index
within the transaction.
|
long |
getFee()
Max fee paid for transaction in stroops (1 stroop = 0.0000001 XLM).
|
@NonNull Memo |
getMemo()
Memo attached to the transaction.
|
@NonNull Operation[] |
getOperations()
Operations included in the transaction.
|
TransactionPreconditions |
getPreconditions()
The preconditions for the transaction.
|
long |
getSequenceNumber()
The sequence number of the account creating this transaction.
|
SorobanTransactionData |
getSorobanData()
The Soroban data for the transaction.
|
@NonNull java.lang.String |
getSourceAccount()
The source account for this transaction.
|
TimeBounds |
getTimeBounds()
Gets the time bounds defined for the transaction.
|
int |
hashCode() |
boolean |
isSorobanTransaction()
Returns true if this transaction is a Soroban transaction.
|
byte[] |
signatureBase()
Returns signature base.
|
void |
signExtraSignersPayload(@NonNull KeyPair signer)
Signs the extra signers payloads for this transaction using the provided signer.
|
TransactionEnvelope |
toEnvelopeXdr()
Generates TransactionEnvelope XDR object.
|
addSignature, fromEnvelopeXdr, fromEnvelopeXdr, getNetwork, getSignatures, getTransactionSignatureBase, hash, hashHex, sign, sign, toEnvelopeXdrBase64
public byte[] signatureBase()
AbstractTransaction
signatureBase
in class AbstractTransaction
public TimeBounds getTimeBounds()
public java.lang.String getClaimableBalanceId(int index)
index
- The index of the CreateClaimableBalanceOperation within the transaction, starting
at 0public void signExtraSignersPayload(@NonNull @NonNull KeyPair signer)
signer
- the KeyPair of the signer to use for signing the extra signers payloads.public static Transaction fromV0EnvelopeXdr(TransactionV0Envelope envelope, Network network)
public static Transaction fromV1EnvelopeXdr(TransactionV1Envelope envelope, Network network)
public TransactionEnvelope toEnvelopeXdr()
toEnvelopeXdr
in class AbstractTransaction
public boolean isSorobanTransaction()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public long getFee()
@NonNull public @NonNull java.lang.String getSourceAccount()
public long getSequenceNumber()
@NonNull public @NonNull Operation[] getOperations()
@NonNull public @NonNull Memo getMemo()
public TransactionPreconditions getPreconditions()
public SorobanTransactionData getSorobanData()