submit

suspend fun submit(): T

Submits the transaction to the network.

Sends the transaction and polls for completion. Parses the result using parseResultXdrFn if provided.

Return

The parsed result (or raw SCValXdr if parseResultXdrFn is null)

Throws

if not yet simulated

if submission failed

if still pending after timeout

if transaction failed