Generate automatic events on create/update of item/stream so that polling is not required

+2 votes
I have multichain configured on server. So, like in Ethereum, we can create event in the smart contract which can keep listening to events for new actions, likewise, can we subscribe to stream events using Multichain's APIs without explicitely keep polling from subscriber's end?
asked Sep 6, 2019 by prashantnagawade

1 Answer

0 votes

Please take a look at the walletnotify runtime parameter which allows you to execute a script every time an item comes in for a subscribed stream:

answered Sep 6, 2019 by MultiChain