UNPKG

bitcoin-cli-ts

Version:

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

14 lines (13 loc) 443 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * setwalletflag "flag" ( value ) * * Change the state of the given wallet flag for a wallet. * */ export function setWalletFlag(params) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'setwalletflag', params: methodParams }, bitcoind); }