Canton dApp Booster
    Preparing search index...

    Interface CantonConnectContextValue

    Every slice of the session at once, plus the DappSDK the provider holds, whose identity churns as sessions are retired — read it, never cache it. Prefer the narrower hooks — useConnect, useParty, useWalletStatus, useExecute, useSignMessage, useLedger — one slice each.

    interface CantonConnectContextValue {
        config: CantonConnectConfig;
        connect: () => Promise<void>;
        connectError: Error | undefined;
        disconnect: () => Promise<void>;
        isConnecting: boolean;
        isLocked: boolean;
        lastTx: TxStatusSnapshot | undefined;
        party: Party | undefined;
        sdk: DappSDK;
        status: ConnectionStatus;
    }
    Index
    connect: () => Promise<void>
    connectError: Error | undefined
    disconnect: () => Promise<void>
    isConnecting: boolean
    isLocked: boolean
    lastTx: TxStatusSnapshot | undefined
    party: Party | undefined
    sdk: DappSDK