UNPKG

fugitut

Version:

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps

9 lines (7 loc) 310 B
export type SendReturnResult = { result: any } export type SendReturn = any export type SendOld = ({ method }: { method: string }) => Promise<SendReturnResult | SendReturn> export type SendAsync = ( request: { method: string; params?: Array<any> }, callback: (error: any, response: any) => void ) => void