UNPKG

bitcoin-cli-ts

Version:

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

16 lines (15 loc) 597 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * 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) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'getnodeaddresses', params: methodParams }, bitcoind); }