Package org.stellar.sdk.xdr
Class SorobanTransactionMeta
java.lang.Object
org.stellar.sdk.xdr.SorobanTransactionMeta
SorobanTransactionMeta's original definition in the XDR file is:
struct SorobanTransactionMeta { SorobanTransactionMetaExt ext; ContractEvent events<>; // custom events populated by the // contracts themselves. SCVal returnValue; // return value of the host fn invocation // Diagnostics events that are not hashed. // This will contain all contract and diagnostic events. Even ones // that were emitted in a failed contract call. DiagnosticEvent diagnosticEvents<>; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionSorobanTransactionMeta
(SorobanTransactionMetaExt ext, ContractEvent[] events, SCVal returnValue, DiagnosticEvent[] diagnosticEvents) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static SorobanTransactionMeta
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SorobanTransactionMeta
fromXdrBase64
(String xdr) static SorobanTransactionMeta
fromXdrByteArray
(byte[] xdr) getExt()
int
hashCode()
void
setDiagnosticEvents
(DiagnosticEvent[] diagnosticEvents) void
setEvents
(ContractEvent[] events) void
void
setReturnValue
(SCVal returnValue) toString()
default String
default byte[]
-
Constructor Details
-
SorobanTransactionMeta
public SorobanTransactionMeta() -
SorobanTransactionMeta
public SorobanTransactionMeta(SorobanTransactionMetaExt ext, ContractEvent[] events, SCVal returnValue, DiagnosticEvent[] diagnosticEvents)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getExt
-
getEvents
-
getReturnValue
-
getDiagnosticEvents
-
setExt
-
setEvents
-
setReturnValue
-
setDiagnosticEvents
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-