@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines • 495 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* getaddednodeinfo ( "node" )
*
* Returns information about the given added node, or all added nodes
* (note that onetry addnodes are not listed here)
*
*/
export function getAddedNodeInfo(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'getaddednodeinfo', params: methodParams }, bitcoind);
}
//# sourceMappingURL=get-added-node-info.js.map