Canton dAppBooster
    Preparing search index...

    Interface UseSignMessageResult

    Return shape of useSignMessage. signMessage throws when nothing is connected or no party is reported, and reset clears the last signature and error without touching the session.

    interface UseSignMessageResult {
        error: Error | undefined;
        isPending: boolean;
        reset: () => void;
        signature: string | undefined;
        signMessage: (message: string) => Promise<string>;
    }
    Index
    error: Error | undefined
    isPending: boolean
    reset: () => void
    signature: string | undefined
    signMessage: (message: string) => Promise<string>