UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

23 lines (19 loc) 522 B
// Auto synced from github actions. Don't change this file import { Bitcoind } from '../../types.js' import request from '../../rpc-request.js' type GetZmqNotificationsParams = { bitcoind: Bitcoind } /** * getzmqnotifications * * Returns information about the active ZeroMQ notifications. * */ export function getZmqNotifications(params: GetZmqNotificationsParams) { const { bitcoind, ...methodParams } = params return request( { method: 'getzmqnotifications', params: methodParams }, bitcoind ) }