UNPKG

@tronlink/core

Version:

The library serves as a core module within TronLink Extension, which provides low-level wallet functionality for both Tron and Ethereum networks, primary features includes account generation and transaction signing

18 lines (17 loc) 553 B
import fetchApi from './fetch'; declare const HttpProvider: typeof import("tronweb/lib/esm/lib/providers").HttpProvider; interface Params { host: string; timeout?: number; user?: any; password?: any; headers?: any; statusPage?: string; } export default class httpProxy extends HttpProvider { private instance; constructor({ host, timeout, user, password, headers, statusPage, }: Params); createInstance(params: any): fetchApi; request(endpoint: any, payload?: {}, method?: string): Promise<unknown>; } export {};