UNPKG

bitski-web3-react-connector

Version:
22 lines (21 loc) 749 B
import { AbstractConnector } from '@web3-react/abstract-connector'; import { ConnectorUpdate } from '@web3-react/types'; interface BitskiConnectorArguments { clientId: string; chainId: number; callbackUrl?: string; } export declare class BitskiConnector extends AbstractConnector { private readonly clientId; private readonly chainId; private readonly callbackUrl?; bitski: any; constructor({ clientId, chainId, callbackUrl }: BitskiConnectorArguments); activate(): Promise<ConnectorUpdate>; getProvider(chainId?: number): Promise<any>; getChainId(): Promise<number | string>; getAccount(): Promise<null | string>; deactivate(): void; close(): Promise<void>; } export {};