UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

18 lines 520 B
import { Bitcoind } from '../../types.js'; type SendmsgToPeerParams = { bitcoind: Bitcoind; peer_id: number; msg_type: string; msg: string; }; /** * sendmsgtopeer peer_id "msg_type" "msg" * * Send a p2p message to a peer specified by id. * The message type and body must be provided, the message header will be generated. * This RPC is for testing only. * */ export declare function sendmsgToPeer(params: SendmsgToPeerParams): Promise<any>; export {}; //# sourceMappingURL=sendmsg-to-peer.d.ts.map