UNPKG

bitcoin-cli-ts

Version:

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

17 lines (16 loc) 547 B
import { Bitcoind } from '../../types'; type DisconnectNodeParams = { bitcoind: Bitcoind; address?: string; nodeid?: number; }; /** * disconnectnode ( "address" nodeid ) * * Immediately disconnects from the specified peer node. * Strictly one out of 'address' and 'nodeid' can be provided to identify the node. * To disconnect by nodeid, either set 'address' to the empty string, or call using the named 'nodeid' argument only. * */ export declare function disconnectNode(params: DisconnectNodeParams): Promise<any>; export {};