UNPKG

@machinomy/hdwallet-provider

Version:

HD Wallet-enabled Web3 provider

11 lines 705 B
import FetchSubprovider from "web3-provider-engine/subproviders/fetch"; import WebsocketSubprovider from "web3-provider-engine/subproviders/websocket"; export declare function randomId(): number; export declare function createPayload(data: any): any; export declare type Remote = FetchSubprovider | WebsocketSubprovider; export declare function baseProvider(rpcUrl: string): Remote; export declare function blockTagForPayload(payload: any): any; export declare function blockTagParamIndex(payload: any): number | undefined; export declare function stripHexPrefix(str: string): string; export declare function timeout(duration: number, unref?: boolean): Promise<unknown>; //# sourceMappingURL=util.d.ts.map