UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

22 lines (18 loc) 500 B
// Auto synced from github actions. Don't change this file import { Bitcoind } from '../../types.js' import request from '../../rpc-request.js' type HelpParams = { bitcoind: Bitcoind /* The command to get help on */ command?: string } /** * help ( "command" ) * * List all commands, or get help for a specified command. * */ export function help(params: HelpParams) { const { bitcoind, ...methodParams } = params return request({ method: 'help', params: methodParams }, bitcoind) }