@hashlike-official/extend-web3-react-wrapper
Version:
web3-react wrapper - it offers a common interface for different wallet providers
10 lines (9 loc) • 488 B
TypeScript
import { Caver } from '@hashlike-official/extend-web3-react-kaikas';
import { KaikasContract } from '../contract';
import { WalletLibrary } from '../types/WalletLibrary';
export declare class KaikasLibrary extends WalletLibrary<Caver> {
getBalanceOf(address: string): Promise<string>;
getBlockNumber(): Promise<number>;
transfer(from: string, to: string, value: number): Promise<boolean>;
contract(jsonInterface: any, address: string, account?: string): KaikasContract;
}