@hashlike-official/extend-web3-react-wrapper
Version:
web3-react wrapper - it offers a common interface for different wallet providers
6 lines (5 loc) • 357 B
TypeScript
import { WalletLibrary } from './types/WalletLibrary';
import { SupportedProvider } from './types';
export declare function useProvider(): WalletLibrary<SupportedProvider> | undefined;
export declare function useTransfer(): (from: string, to: string, sendAmount: number) => Promise<void>;
export declare function useInitWallet(): (chainId: number) => void;