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; all errors are captured in the returned RelayerResponse.

Return

The relayer response with transaction hash or error

Parameters

transactionEnvelope

TransactionEnvelope XDR to submit

perRequestTimeoutMs

Optional per-request timeout override in milliseconds