Package org.stellar.sdk.xdr
Class TransactionHistoryEntry
java.lang.Object
org.stellar.sdk.xdr.TransactionHistoryEntry
TransactionHistoryEntry's original definition in the XDR file is:
struct TransactionHistoryEntry { uint32 ledgerSeq; TransactionSet txSet; // when v != 0, txSet must be empty union switch (int v) { case 0: void; case 1: GeneralizedTransactionSet generalizedTxSet; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
TransactionHistoryEntryExt's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionTransactionHistoryEntry
(Uint32 ledgerSeq, TransactionSet txSet, TransactionHistoryEntry.TransactionHistoryEntryExt ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TransactionHistoryEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TransactionHistoryEntry
fromXdrBase64
(String xdr) static TransactionHistoryEntry
fromXdrByteArray
(byte[] xdr) getExt()
getTxSet()
int
hashCode()
void
void
setLedgerSeq
(Uint32 ledgerSeq) void
setTxSet
(TransactionSet txSet) toString()
default String
default byte[]
-
Constructor Details
-
TransactionHistoryEntry
public TransactionHistoryEntry() -
TransactionHistoryEntry
public TransactionHistoryEntry(Uint32 ledgerSeq, TransactionSet txSet, TransactionHistoryEntry.TransactionHistoryEntryExt ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getLedgerSeq
-
getTxSet
-
getExt
-
setLedgerSeq
-
setTxSet
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-