useMetaMaskWallet
const connect = useMetaMaskWallet(); connect();
Returns
connect function to connect to the MetaMask wallet
type ReturnType = (connectOptions?: {
chainId?: number;
}) => Promise<MetaMaskWallet>;
const connect = useMetaMaskWallet(); connect();
connect function to connect to the MetaMask wallet
type ReturnType = (connectOptions?: {
chainId?: number;
}) => Promise<MetaMaskWallet>;