sendXdr

suspend fun sendXdr(transactionEnvelope: TransactionEnvelopeXdr, perRequestTimeoutMs: Long? = null): RelayerResponse

Submits a complete signed transaction envelope.

Use this for transactions that require source_account auth (e.g., deployment). The relayer will fee-bump the signed transaction, preserving the inner signature.

This method does not throw exceptions for request failures; all errors are captured in the returned RelayerResponse. Coroutine cancellation and fatal platform errors propagate instead of being captured.

Return

The relayer response with transaction hash or error

Parameters

transactionEnvelope

TransactionEnvelope XDR to submit

perRequestTimeoutMs

Optional per-request timeout override in milliseconds