@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 465 B
TypeScript
import { Bitcoind } from '../../types.js';
type AddConnectionParams = {
bitcoind: Bitcoind;
address: string;
connection_type: string;
v2transport: boolean;
};
/**
* addconnection "address" "connection_type" v2transport
*
* Open an outbound connection to a specified node. This RPC is for testing only.
*
*/
export declare function addConnection(params: AddConnectionParams): Promise<any>;
export {};
//# sourceMappingURL=add-connection.d.ts.map