Skip to main content

Submit a Transaction Asynchronously

POST 

/transactions_async

This endpoint submits transactions to the Stellar network asynchronously. It is designed to allow users to submit transactions without blocking them while waiting for a response from Horizon. At the same time, it also provides clear response status codes from stellar-core to help understand the status of the submitted transaction. You can then use Horizon's GET transaction endpoint to wait for the transaction to be included in a ledger and ingested by Horizon.

Request

Query Parameters

    tx stringrequired

Responses

Transaction has been received by core and is in pending status.

Schema

    errorResultXdr stringnullable

    TransactionResult XDR string which is present only if the submission status from core is an ERROR.

    tx_status string

    Possible values: [ERROR, PENDING, DUPLICATE, TRY_AGAIN_LATER]

    Status of the transaction submission.

    hash string

    Hash of the transaction.

Loading...