UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

13 lines (12 loc) 321 B
import { Json } from './types'; type Command = { method: string; params: Json | Array<Json | string | number | boolean>; }; type ConnectionSettings = { url: string; authHeader: string; timeout?: number; }; export default function (cmd: Command, settings: ConnectionSettings): Promise<any>; export {};