Package org.stellar.sdk.responses
Class TransactionResponse
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.TransactionResponse
- All Implemented Interfaces:
Pageable
Represents transaction response.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFeeBumpTransaction is only present in a TransactionResponse if the transaction is a fee bump transaction or is wrapped by a fee bump transaction.static final classInnerTransaction is only present in a TransactionResponse if the transaction is a fee bump transaction or is wrapped by a fee bump transaction.static final classLinks connected to transaction.static final classPreconditions of a transaction per CAP-21 -
Constructor Summary
ConstructorsConstructorDescriptionTransactionResponse(String id, String pagingToken, Boolean successful, String hash, Long ledger, String createdAt, String sourceAccount, String accountMuxed, BigInteger accountMuxedId, Long sourceAccountSequence, String feeAccount, String feeAccountMuxed, BigInteger feeAccountMuxedId, Long feeCharged, Long maxFee, Integer operationCount, String envelopeXdr, String resultXdr, String resultMetaXdr, String feeMetaXdr, List<String> signatures, TransactionResponse.Preconditions preconditions, TransactionResponse.FeeBumpTransaction feeBumpTransaction, TransactionResponse.InnerTransaction innerTransaction, String memoType, String memoBytes, String memoValue, TransactionResponse.Links links) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHash()getId()getLinks()getMemo()inthashCode()Parses theenvelopeXdrfield from a string to anTransactionEnvelopeobject.Parses thefeeMetaXdrfield from a string to anOperationMetaobject.Parses theresultMetaXdrfield from a string to anTransactionMetaobject.Parses theresultXdrfield from a string to anTransactionResultobject.toString()
-
Constructor Details
-
TransactionResponse
public TransactionResponse(String id, String pagingToken, Boolean successful, String hash, Long ledger, String createdAt, String sourceAccount, String accountMuxed, BigInteger accountMuxedId, Long sourceAccountSequence, String feeAccount, String feeAccountMuxed, BigInteger feeAccountMuxedId, Long feeCharged, Long maxFee, Integer operationCount, String envelopeXdr, String resultXdr, String resultMetaXdr, String feeMetaXdr, List<String> signatures, TransactionResponse.Preconditions preconditions, TransactionResponse.FeeBumpTransaction feeBumpTransaction, TransactionResponse.InnerTransaction innerTransaction, String memoType, String memoBytes, String memoValue, TransactionResponse.Links links)
-
-
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
-
parseFeeMetaXdr
Parses thefeeMetaXdrfield from a string to anOperationMetaobject.- Returns:
- the parsed
OperationMetaobject
-
getMemo
- Returns:
Memoobject from this transaction.
-
getId
-
getPagingToken
- Specified by:
getPagingTokenin interfacePageable
-
getSuccessful
-
getHash
-
getLedger
-
getCreatedAt
-
getSourceAccount
-
getAccountMuxed
-
getAccountMuxedId
-
getSourceAccountSequence
-
getFeeAccount
-
getFeeAccountMuxed
-
getFeeAccountMuxedId
-
getFeeCharged
-
getMaxFee
-
getOperationCount
-
getEnvelopeXdr
-
getResultXdr
-
getResultMetaXdr
-
getFeeMetaXdr
-
getSignatures
-
getPreconditions
-
getFeeBumpTransaction
-
getInnerTransaction
-
getMemoType
-
getMemoBytes
-
getMemoValue
-
getLinks
-
toString
-
equals
-
hashCode
public int hashCode()
-