Skip to content

useConnect

Re-exported wagmi hook for connecting an EOA. This hook uses the internal wagmi config though so that the state is in sync with the rest of the Alchemy Account hook state

Import

import { useConnect } from "@account-kit/react";

Parameters

params

UseMutationParameters mutation parameters to use for the connect mutation

Returns

UseConnectReturnType the wagmi useConnect return type