We put our best effort into covering all topics related to Dimecoin. Each section will cover a different category. Not all documentation may be 100% accurate, if you spot an error, please report it or submit a PR request on GitHub.
REMINDER: This documentation is always evolving. If you have not been here for a while, perhaps check again. Things may have been added or updated since your last visit!
ZeroMQ (ZMQ) RPCs#
GetZmqNotifications#
The getzmqnotifications
RPC returns information about the active ZeroMQ notifications.
Parameters: none
Result—A JSON array of objects providing information about the enabled ZMQ notifications
Name |
Type |
Presence |
Description |
---|---|---|---|
|
array |
Required |
Array of objects containing Information about the enabled ZMQ notifications |
→ |
object |
Required |
Information about a ZMQ notification |
→ → |
string |
Required |
Type of notification |
→ → |
string |
Required |
Address of the publisher |
Example from Dimecoin Core 2.3.0.0
dimecoin-cli -mainnet getzmqnotifications
Result:
[
{
"type": "pubhashblock",
"address": "tcp://0.0.0.0:11321",
},
{
"type": "pubhashtx",
"address": "tcp://0.0.0.0:11321",
},
{
"type": "pubrawblock",
"address": "tcp://0.0.0.0:11321",
}
]
See also
none