Canton dAppBooster
    Preparing search index...

    Return shape of useExecute. execute resolves once the ledger has executed, not at submission; lastTx follows the wallet's txChanged pushes, so it moves 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