transaction_failed error returns a 400 error code and occurs when a client submits a transaction that was well-formed but was not included in the ledger due to some other failure.
For example, a transaction may fail if:
- The source account for transaction cannot pay the minimum fee.
- The sequence number is incorrect.
- One of the contained operations has failed, such as a payment operation that overdraws on the paying account.
tx_bad_seq result code (as expressed in the result_code field of the error) may become valid in the future if the sequence number it used was too high.
Example Response for a Status Code