UNPKG

bitcoin-cli-ts

Version:

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

17 lines (16 loc) 383 B
import { Bitcoind } from '../../types'; type SetBanParams = { bitcoind: Bitcoind; subnet: string; command: string; bantime?: number; absolute?: boolean; }; /** * setban "subnet" "command" ( bantime absolute ) * * Attempts to add or remove an IP/Subnet from the banned list. * */ export declare function setBan(params: SetBanParams): Promise<any>; export {};