Canton dAppBooster
    Preparing search index...

    Return shape of useExecute. execute resolves once the ledger has executed rather than at submission, and throws when nothing is connected or no party is reported; lastTx follows the wallet's own txChanged pushes, so it moves even while execute is still pending.

    interface UseExecuteResult {
        error: Error | undefined;
        execute: (params: PrepareExecuteParams) => Promise<unknown>;
        isPending: boolean;
        lastTx: TxStatusSnapshot | undefined;
        reset: () => void;
    }
    Index
    error: Error | undefined
    execute: (params: PrepareExecuteParams) => Promise<unknown>
    isPending: boolean
    lastTx: TxStatusSnapshot | undefined
    reset: () => void