UNPKG

@bigmi/core

Version:

TypeScript library for Bitcoin apps.

3 lines (2 loc) 353 B
import type { Transport, TransportConfig } from '../types/transport.js'; export declare function createTransport<type extends string, rpcAttributes extends Record<string, any>>({ key, methods, name, request, retryCount, retryDelay, timeout, type, }: TransportConfig<type>, value?: rpcAttributes | undefined): ReturnType<Transport<type, rpcAttributes>>;