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
-
Constructor Summary
ConstructorDescriptionSubmitTransactionAsyncResponse
(String hash, SubmitTransactionAsyncResponse.TransactionStatus txStatus, String errorResultXdr) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getHash()
int
hashCode()
Parses theerrorResultXdr
field from a string to anTransactionResult
object.toString()
-
Constructor Details
-
SubmitTransactionAsyncResponse
public SubmitTransactionAsyncResponse(String hash, SubmitTransactionAsyncResponse.TransactionStatus txStatus, String errorResultXdr)
-
-
Method Details
-
parseErrorResultXdr
Parses theerrorResultXdr
field from a string to anTransactionResult
object.- Returns:
- the parsed
TransactionResult
object
-
getHash
-
getTxStatus
-
getErrorResultXdr
-
equals
-
hashCode
public int hashCode() -
toString
-