@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines • 583 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* getnodeaddresses ( count "network" )
*
* Return known addresses, after filtering for quality and recency.
* These can potentially be used to find new peers in the network.
* The total number of addresses known to the node may be higher.
*
*/
export function getNodeAddresses(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'getnodeaddresses', params: methodParams }, bitcoind);
}
//# sourceMappingURL=get-node-addresses.js.map