Skip to main content
POST
Send

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

network
enum<string>

Network on which the operation will be performed

Available options:
testnet,
mainnet

Body

application/json

Data of the signed transaction

xdr
string
required

The signed transaction in XDR format

Response

Transaction submitted and confirmed. Normalized SendTransactionResponse, the same shape for soroban and horizon submissions.

txHash
string

Transaction hash

Example:

"a1b2c3d4e5f6..."

success
boolean

true when the network reports the transaction as successful (RPC status SUCCESS, Horizon successful). A failed Soroban transaction is an error response, not success: false

Example:

true

result
object | null

Parsed return value, discriminated on type: swap {amountIn, amountOut, intermediateAmounts?}, add_liquidity {amountA, amountB, shares}, remove_liquidity {amountA, amountB}, unknown {value}. null when it could not be parsed.

ledger
number

Ledger the transaction was included in

Example:

12345

createdAt
string

Time the transaction closed. Unix seconds as a string for soroban submissions (passed through from RPC getTransaction), ISO 8601 for horizon submissions

Example:

"1793711685"

latestLedger
number

Latest known ledger; for horizon submissions it repeats ledger

Example:

12350

latestLedgerCloseTime
string

Close time of the latest known ledger. Unix seconds as a string for soroban submissions; for horizon submissions it repeats createdAt (ISO 8601)

Example:

"1793711710"

feeBump
boolean

Whether the envelope was a fee bump (always false for Horizon submissions)

Example:

false

feeCharged
string

Fee charged, in stroops, from Horizon fee_charged. Always "0" for soroban submissions, because RPC getTransaction does not report a fee

Example:

"0"

protocol
enum<string>

router for the Soroswap router, aggregator for every other whitelisted Soroban target, sdex for Horizon submissions

Available options:
router,
aggregator,
sdex,
unknown
Example:

"router"

submissionMethod
enum<string>

soroban for invokeHostFunction transactions, horizon for everything else

Available options:
soroban,
horizon
Example:

"soroban"