UNPKG

bitcoin-cli-ts

Version:

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

14 lines (13 loc) 493 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * addpeeraddress "address" port ( tried ) * * Add the address of a potential peer to an address manager table. This RPC is for testing only. * */ export function addPeerAddress(params) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'addpeeraddress', params: methodParams }, bitcoind); }