submit Transaction
Submits a transaction to the Stellar network.
This method submits a base64-encoded transaction envelope to Horizon and waits for it to be ingested into a ledger. By default, this function checks if destination accounts require a memo as defined in SEP-0029. Use the overloaded version with skipMemoRequiredCheck to bypass this validation.
Return
com.soneso.stellar.sdk.horizon.responses.TransactionResponse containing the result
Parameters
Base64-encoded transaction envelope XDR
See also
Throws
when a transaction is trying to submit an operation to an account which requires a memo
All the exceptions below are subclasses of NetworkException
if the request fails due to a bad request (4xx)
if the request fails due to a bad response from the server (5xx)
if the request fails due to too many requests sent to the server
when Horizon returns a Timeout or connection timeout occurred
if the server returns an unknown status code
when the request cannot be executed due to cancellation or connectivity problems
Submits a transaction to the Stellar network with optional memo required check.
This method submits a base64-encoded transaction envelope to Horizon and waits for it to be ingested into a ledger. The submission uses the submitHttpClient with extended timeout (65 seconds) to account for transaction processing time.
Return
com.soneso.stellar.sdk.horizon.responses.TransactionResponse containing the result
Parameters
Base64-encoded transaction envelope XDR
Set to true to skip the SEP-0029 memo required check
See also
Throws
when skipMemoRequiredCheck is false and a transaction is trying to submit an operation to an account which requires a memo
All the exceptions below are subclasses of NetworkException
if the request fails due to a bad request (4xx)
if the request fails due to a bad response from the server (5xx)
if the request fails due to too many requests sent to the server
when Horizon returns a Timeout or connection timeout occurred
if the server returns an unknown status code
when the request cannot be executed due to cancellation or connectivity problems