[#CZMQNotificationInterface-Create] = xref:CZMQNotificationInterface.adoc[CZMQNotificationInterface]::Create :relfileprefix: ../ :mrdocs: Create the ZMQ notification interface from the configured endpoints. == Synopsis Declared in `<zmq/zmqnotificationinterface.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::unique_ptr<CZMQNotificationInterface> Create(std::function<bool(std::vector<std::byte>&, xref:CBlockIndex.adoc[CBlockIndex] const&)> get_block_by_index); ---- == Return Value The new interface, or nullptr if no notifiers are configured. == Parameters [cols="1,4"] |=== | Name| Description | *get_block_by_index* | Callback that reads a serialized block for a given index. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#