Function useLogout

  • Beta

    Hook to logout the connected wallet from the backend. The backend logout URL must be configured on the ThirdwebProvider.

    Returns {
        isLoading: boolean;
        logout: UseMutateAsyncFunction;
    }

    • A function to invoke to logout.
    • isLoading: boolean
    • logout: UseMutateAsyncFunction

Generated using TypeDoc