Zmq#

class defichain.node.Zmq(node)#
getzmqnotifications() {}#

Returns information about the active ZeroMQ notifications

Returns:

[{…}] (json array) – returns information about the active ZeroMQ notifications

[
    {                        (json object)
        "type": "pubhashtx", (string) Type of notification
        "address": "...",    (string) Address of the publisher
        "hwm": n             (numeric) Outbound message high water mark
    },
    ...
]

Example:
>>> node.control.getzmqnotifications()