UNPKG

@hyperlane-xyz/widgets

Version:

Common react components for Hyperlane projects

8 lines 626 B
import type { MinimalProviderRegistry } from '@hyperlane-xyz/sdk/providers/MinimalProviderRegistry'; import type { AccountInfo, ActiveChainInfo, WalletDetails } from './types.js'; export declare function useEthereumAccount(_multiProvider: MinimalProviderRegistry): AccountInfo; export declare function useEthereumWalletDetails(): WalletDetails; export declare function useEthereumConnectFn(): () => void; export declare function useEthereumDisconnectFn(): () => Promise<void>; export declare function useEthereumActiveChain(multiProvider: MinimalProviderRegistry): ActiveChainInfo; //# sourceMappingURL=ethereumWallet.d.ts.map