Package org.stellar.sdk.xdr
Class TransactionMetaV4
java.lang.Object
org.stellar.sdk.xdr.TransactionMetaV4
- All Implemented Interfaces:
XdrElement
TransactionMetaV4's original definition in the XDR file is:
struct TransactionMetaV4
{
ExtensionPoint ext;
LedgerEntryChanges txChangesBefore; // tx level changes before operations
// are applied if any
OperationMetaV2 operations<>; // meta for each operation
LedgerEntryChanges txChangesAfter; // tx level changes after operations are
// applied if any
SorobanTransactionMetaV2* sorobanMeta; // Soroban-specific meta (only for
// Soroban transactions).
TransactionEvent events<>; // Used for transaction-level events (like fee payment)
DiagnosticEvent diagnosticEvents<>; // Used for all diagnostic information
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTransactionMetaV4(ExtensionPoint ext, LedgerEntryChanges txChangesBefore, OperationMetaV2[] operations, LedgerEntryChanges txChangesAfter, SorobanTransactionMetaV2 sorobanMeta, TransactionEvent[] events, DiagnosticEvent[] diagnosticEvents) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionMetaV4decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TransactionMetaV4fromXdrBase64(String xdr) static TransactionMetaV4fromXdrByteArray(byte[] xdr) getExt()inthashCode()voidsetDiagnosticEvents(DiagnosticEvent[] diagnosticEvents) voidsetEvents(TransactionEvent[] events) voidsetExt(ExtensionPoint ext) voidsetOperations(OperationMetaV2[] operations) voidsetSorobanMeta(SorobanTransactionMetaV2 sorobanMeta) voidsetTxChangesAfter(LedgerEntryChanges txChangesAfter) voidsetTxChangesBefore(LedgerEntryChanges txChangesBefore) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TransactionMetaV4
public TransactionMetaV4() -
TransactionMetaV4
public TransactionMetaV4(ExtensionPoint ext, LedgerEntryChanges txChangesBefore, OperationMetaV2[] operations, LedgerEntryChanges txChangesAfter, SorobanTransactionMetaV2 sorobanMeta, TransactionEvent[] events, DiagnosticEvent[] diagnosticEvents)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExt
-
getTxChangesBefore
-
getOperations
-
getTxChangesAfter
-
getSorobanMeta
-
getEvents
-
getDiagnosticEvents
-
setExt
-
setTxChangesBefore
-
setOperations
-
setTxChangesAfter
-
setSorobanMeta
-
setEvents
-
setDiagnosticEvents
-
equals
-
hashCode
public int hashCode() -
toString
-