Class GetTransactionResponse
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetTransactionResponse
Response for JSON-RPC method getTransaction.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionGetTransactionResponse
(GetTransactionResponse.GetTransactionStatus status, String txHash, Long latestLedger, Long latestLedgerCloseTime, Long oldestLedger, Long oldestLedgerCloseTime, Integer applicationOrder, Boolean feeBump, String envelopeXdr, String resultXdr, String resultMetaXdr, Long ledger, Long createdAt) Creates a newGetTransactionResponse
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
The field can be parsed asTransactionEnvelope
object.The field can be parsed asTransactionMeta
object.The field can be parsed asTransactionResult
object.int
hashCode()
Parses theenvelopeXdr
field from a string to anTransactionEnvelope
object.Parses theresultMetaXdr
field from a string to anTransactionMeta
object.Parses theresultXdr
field from a string to anTransactionResult
object.toString()
-
Constructor Details
-
GetTransactionResponse
public GetTransactionResponse(GetTransactionResponse.GetTransactionStatus status, String txHash, Long latestLedger, Long latestLedgerCloseTime, Long oldestLedger, Long oldestLedgerCloseTime, Integer applicationOrder, Boolean feeBump, String envelopeXdr, String resultXdr, String resultMetaXdr, Long ledger, Long createdAt) Creates a newGetTransactionResponse
instance.- Parameters:
status
-txHash
-latestLedger
-latestLedgerCloseTime
-oldestLedger
-oldestLedgerCloseTime
-applicationOrder
-feeBump
-envelopeXdr
- The field can be parsed asTransactionEnvelope
object.resultXdr
- The field can be parsed asTransactionResult
object.resultMetaXdr
- The field can be parsed asTransactionMeta
object.ledger
-createdAt
-
-
-
Method Details
-
parseEnvelopeXdr
Parses theenvelopeXdr
field from a string to anTransactionEnvelope
object.- Returns:
- the parsed
TransactionEnvelope
object
-
parseResultXdr
Parses theresultXdr
field from a string to anTransactionResult
object.- Returns:
- the parsed
TransactionResult
object
-
parseResultMetaXdr
Parses theresultMetaXdr
field from a string to anTransactionMeta
object.- Returns:
- the parsed
TransactionMeta
object
-
getStatus
-
getTxHash
-
getLatestLedger
-
getLatestLedgerCloseTime
-
getOldestLedger
-
getOldestLedgerCloseTime
-
getApplicationOrder
-
getFeeBump
-
getEnvelopeXdr
The field can be parsed asTransactionEnvelope
object. -
getResultXdr
The field can be parsed asTransactionResult
object. -
getResultMetaXdr
The field can be parsed asTransactionMeta
object. -
getLedger
-
getCreatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-