Package org.stellar.sdk.xdr
Class TransactionMetaV2
java.lang.Object
org.stellar.sdk.xdr.TransactionMetaV2
TransactionMetaV2's original definition in the XDR file is:
struct TransactionMetaV2 { LedgerEntryChanges txChangesBefore; // tx level changes before operations // are applied if any OperationMeta operations<>; // meta for each operation LedgerEntryChanges txChangesAfter; // tx level changes after operations are // applied if any };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTransactionMetaV2
(LedgerEntryChanges txChangesBefore, OperationMeta[] operations, LedgerEntryChanges txChangesAfter) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TransactionMetaV2
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TransactionMetaV2
fromXdrBase64
(String xdr) static TransactionMetaV2
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setOperations
(OperationMeta[] operations) void
setTxChangesAfter
(LedgerEntryChanges txChangesAfter) void
setTxChangesBefore
(LedgerEntryChanges txChangesBefore) toString()
default String
default byte[]
-
Constructor Details
-
TransactionMetaV2
public TransactionMetaV2() -
TransactionMetaV2
public TransactionMetaV2(LedgerEntryChanges txChangesBefore, OperationMeta[] operations, LedgerEntryChanges txChangesAfter)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getTxChangesBefore
-
getOperations
-
getTxChangesAfter
-
setTxChangesBefore
-
setOperations
-
setTxChangesAfter
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-