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
Modifier and TypeClassDescriptionstatic final class
FeeBumpTransaction is only present in a TransactionResponse if the transaction is a fee bump transaction or is wrapped by a fee bump transaction.static final class
InnerTransaction is only present in a TransactionResponse if the transaction is a fee bump transaction or is wrapped by a fee bump transaction.static final class
Links connected to transaction.static final class
Preconditions of a transaction per CAP-21 -
Constructor Summary
ConstructorDescriptionTransactionResponse
(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 TypeMethodDescriptionboolean
getHash()
getId()
getLinks()
getMemo()
int
hashCode()
Parses theenvelopeXdr
field from a string to anTransactionEnvelope
object.Parses thefeeMetaXdr
field from a string to anOperationMeta
object.Parses theresultMetaXdr
field from a string to anTransactionMeta
object.Parses theresultXdr
field from a string to anTransactionResult
object.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 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
-
parseFeeMetaXdr
Parses thefeeMetaXdr
field from a string to anOperationMeta
object.- Returns:
- the parsed
OperationMeta
object
-
getMemo
- Returns:
Memo
object from this transaction.
-
getId
-
getPagingToken
- Specified by:
getPagingToken
in 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()
-