send

suspend fun send(hostFunction: HostFunctionXdr, authEntries: List<SorobanAuthorizationEntryXdr>, perRequestTimeoutMs: Long? = null): RelayerResponse

Submits a transaction using host function and authorization entries.

The relayer will construct a full transaction from these components, wrap it with a fee bump, and submit it to the Stellar network.

This method does not throw exceptions; all errors are captured in the returned RelayerResponse.

Return

The relayer response with transaction hash or error

Parameters

hostFunction

The host function to execute

authEntries

Authorization entries for the transaction

perRequestTimeoutMs

Optional per-request timeout override in milliseconds