@web3-react/injected-connector
Version:
A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps
9 lines (8 loc) • 321 B
TypeScript
export declare type SendReturnResult = {
result: any;
};
export declare type SendReturn = any;
export declare type Send = (method: string, params?: any[]) => Promise<SendReturnResult | SendReturn>;
export declare type SendOld = ({ method }: {
method: string;
}) => Promise<SendReturnResult | SendReturn>;