UNPKG

wagmi

Version:

React Hooks for Ethereum

13 lines 655 B
import { type GetConnectionReturnType } from '@wagmi/core'; import type { Compute, ConfigParameter } from '@wagmi/core/internal'; export type UseConnectionEffectParameters = Compute<{ onConnect?(data: Compute<Pick<Extract<GetConnectionReturnType, { status: 'connected'; }>, 'address' | 'addresses' | 'chain' | 'chainId' | 'connector'> & { isReconnected: boolean; }>): void; onDisconnect?(): void; } & ConfigParameter>; /** https://wagmi.sh/react/api/hooks/useConnectionEffect */ export declare function useConnectionEffect(parameters?: UseConnectionEffectParameters): void; //# sourceMappingURL=useConnectionEffect.d.ts.map