Package org.stellar.sdk.responses
Class SubmitTransactionAsyncResponse
java.lang.Object
org.stellar.sdk.responses.SubmitTransactionAsyncResponse
Represents the response from the "Submit a Transaction Asynchronously" endpoint of Horizon API.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSubmitTransactionAsyncResponse(String hash, SubmitTransactionAsyncResponse.TransactionStatus txStatus, String errorResultXdr) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHash()inthashCode()Parses theerrorResultXdrfield from a string to anTransactionResultobject.toString()
-
Constructor Details
-
SubmitTransactionAsyncResponse
public SubmitTransactionAsyncResponse(String hash, SubmitTransactionAsyncResponse.TransactionStatus txStatus, String errorResultXdr)
-
-
Method Details
-
parseErrorResultXdr
Parses theerrorResultXdrfield from a string to anTransactionResultobject.- Returns:
- the parsed
TransactionResultobject
-
getHash
-
getTxStatus
-
getErrorResultXdr
-
equals
-
hashCode
public int hashCode() -
toString
-