@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 425 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* setban "subnet" "command" ( bantime absolute )
*
* Attempts to add or remove an IP/Subnet from the banned list.
*
*/
export function setBan(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'setban', params: methodParams }, bitcoind);
}
//# sourceMappingURL=set-ban.js.map