Docs

useSigner

Hook for getting the ethers signer of the connected wallet.

Example

import { useSigner, Web3Button } from "@thirdweb-dev/react";
function App() {
const signer = useSigner();
}

Returns

Signer if wallet is connected, otherwise undefined .