@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 376 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* getrpcinfo
*
* Returns details of the RPC server.
*
*/
export function getRpcInfo(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'getrpcinfo', params: methodParams }, bitcoind);
}
//# sourceMappingURL=get-rpc-info.js.map