Docs

useActiveWallet

A hook that returns the active wallet

Example

import { useActiveWallet } from "thirdweb/react";
const wallet = useActiveWallet();

Returns

The active Wallet or undefined if no active wallet is set.