Class GetTransactionsResponse.Transaction
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetTransactionsResponse.Transaction
- Enclosing class:
GetTransactionsResponse
-
Constructor Summary
ConstructorsConstructorDescriptionTransaction(GetTransactionsResponse.TransactionStatus status, String txHash, Integer applicationOrder, Boolean feeBump, String envelopeXdr, String resultXdr, String resultMetaXdr, Long ledger, Long createdAt, List<String> diagnosticEventsXdr, Events events) Creates a newTransactioninstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.The field can be parsed asTransactionEnvelopeobject.The field can be parsed asTransactionMetaobject.The field can be parsed asTransactionResultobject.inthashCode()Deprecated.Parses theenvelopeXdrfield from a string to anTransactionEnvelopeobject.Parses theresultMetaXdrfield from a string to anTransactionMetaobject.Parses theresultXdrfield from a string to anTransactionResultobject.toString()
-
Constructor Details
-
Transaction
public Transaction(GetTransactionsResponse.TransactionStatus status, String txHash, Integer applicationOrder, Boolean feeBump, String envelopeXdr, String resultXdr, String resultMetaXdr, Long ledger, Long createdAt, List<String> diagnosticEventsXdr, Events events) Creates a newTransactioninstance.- Parameters:
status-txHash-applicationOrder-feeBump-envelopeXdr- The field can be parsed asTransactionEnvelopeobject.resultXdr- The field can be parsed asTransactionResultobject.resultMetaXdr- The field can be parsed asTransactionMetaobject.ledger-createdAt-diagnosticEventsXdr- This field is deprecated, and it will be removed in the next version of the Stellar RPC and the SDK. UseEvents.getDiagnosticEventsXdr()instead.events-
-
-
Method Details
-
parseEnvelopeXdr
Parses theenvelopeXdrfield from a string to anTransactionEnvelopeobject.- Returns:
- the parsed
TransactionEnvelopeobject
-
parseResultXdr
Parses theresultXdrfield from a string to anTransactionResultobject.- Returns:
- the parsed
TransactionResultobject
-
parseResultMetaXdr
Parses theresultMetaXdrfield from a string to anTransactionMetaobject.- Returns:
- the parsed
TransactionMetaobject
-
parseDiagnosticEventsXdr
Deprecated.Parses thediagnosticEventsXdrfield from a list of strings to a list ofDiagnosticEventobjects.This method is deprecated and will be removed in the next version of the Stellar RPC and the SDK. Use
Events.getDiagnosticEventsXdr()instead.- Returns:
- a list of parsed
DiagnosticEventobjects
-
getStatus
-
getTxHash
-
getApplicationOrder
-
getFeeBump
-
getEnvelopeXdr
The field can be parsed asTransactionEnvelopeobject. -
getResultXdr
The field can be parsed asTransactionResultobject. -
getResultMetaXdr
The field can be parsed asTransactionMetaobject. -
getLedger
-
getCreatedAt
-
getDiagnosticEventsXdr
Deprecated.This field is deprecated, and it will be removed in the next version of the Stellar RPC and the SDK. UseEvents.getDiagnosticEventsXdr()instead. -
getEvents
-
equals
-
hashCode
public int hashCode() -
toString
-