prepareExecuteAndWait

Submits request and suspends until the transaction is executed.

Throws DappException if the user declines (4001) or the ledger rejects it (-32003); returns only on success, which is why the result type is the executed event rather than a union.