submit With Multiple Signers
suspend fun submitWithMultipleSigners(hostFunction: HostFunctionXdr, selectedSigners: List<SelectedSigner>, forceMethod: SubmissionMethod? = null, resolveContextRuleIds: ResolveContextRuleIds? = null): TransactionResult
Shared signing pipeline for multi-signer operations.
Handles wallet signer validation, simulation, auth entry signing, re-simulation, and submission. The caller is responsible for building the hostFunction before calling this.
Used by multiSignerTransfer, multiSignerExecuteAndSubmit, and by other managers (signer, policy, context rule) when they receive a non-empty selectedSigners list for multi-signer authorization.
Return
TransactionResult indicating success or failure.
Parameters
host Function
The host function to invoke.
selected Signers
All signers that must sign, in collection order.
force Method
Optional override for the submission method.
resolve Context Rule Ids
Optional callback to resolve context rule IDs per auth entry.
Throws
if validation fails, signing fails, or submission fails.