DOCS

useLogout

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

Returns

  • A function to invoke to logout.