<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged subscribe</title>
<link>https://www.multichain.com/qa/tag/subscribe</link>
<description>Powered by Question2Answer</description>
<item>
<title>Even 'admin' cannot subscribe/publish to read &amp; write restricted stream</title>
<link>https://www.multichain.com/qa/15440/even-admin-cannot-subscribe-publish-write-restricted-stream</link>
<description>&lt;p&gt;I created a stream with name sun in a chain wheree I am the owner/admin:&lt;/p&gt;&lt;p&gt;&lt;em&gt;$ create stream sun '{&quot;restrict&quot;:&quot;write,read&quot;}'&lt;/em&gt;&lt;/p&gt;&lt;p&gt;I got created.But when I try to subscribe to this stream it get following error:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;This feature is only available in MultiChain Enterprise: Subscribing to read-restricted stream&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;And when I tried publishing, it gave me this error:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Publishing onchain items is not allowed to this stream&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;So, is there any way for admin/owner of the stream &amp;amp; chain to subscribe, read and write to this stream without opting for Enterprise edition?&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/15440/even-admin-cannot-subscribe-publish-write-restricted-stream</guid>
<pubDate>Wed, 11 Sep 2019 11:16:33 +0000</pubDate>
</item>
<item>
<title>Generate automatic events on create/update of item/stream so that polling is not required</title>
<link>https://www.multichain.com/qa/15352/generate-automatic-create-update-stream-polling-required</link>
<description>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?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/15352/generate-automatic-create-update-stream-polling-required</guid>
<pubDate>Fri, 06 Sep 2019 07:09:04 +0000</pubDate>
</item>
<item>
<title>Can you give an example of which param to use to not retrieve off chain items?</title>
<link>https://www.multichain.com/qa/14631/can-you-give-example-which-param-use-not-retrieve-chain-items</link>
<description>&lt;p&gt;what exactly does each one of these parameters mean when using it with subscribe?&amp;nbsp;&lt;br&gt;&lt;span style=&quot;background-color:rgb(252, 243, 207); color:rgb(199, 37, 78); font-family:menlo,monaco,consolas,courier new,monospace; font-size:12.6px&quot;&gt;streams-items,streams-items-local,streams-keys,streams-keys-local,streams-publishers,streams-publishers-local,streams-retrieve&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/14631/can-you-give-example-which-param-use-not-retrieve-chain-items</guid>
<pubDate>Sat, 29 Jun 2019 04:21:35 +0000</pubDate>
</item>
<item>
<title>Why did a subscribe API call take a long time?</title>
<link>https://www.multichain.com/qa/10023/why-did-a-subscribe-api-call-take-a-long-time</link>
<description>&lt;p&gt;&lt;span style=&quot;background-color:rgb(255, 255, 214); color:rgba(0, 0, 0, 0.87); font-family:monospace; font-size:12px&quot;&gt;{&quot;id&quot;:&quot;multichain-client&quot;,&quot;jsonrpc&quot;:&quot;1.0&quot;,&quot;method&quot;:&quot;subscribe&quot;,&quot;params&quot;:[&quot;837B4DB1DBB113F511D3F1EBE01C19A7&quot;]}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color:rgb(255, 255, 214); color:rgba(0, 0, 0, 0.87); font-family:monospace; font-size:12px&quot;&gt;RPC CMD DURATION: 16.518668655s&lt;/span&gt;&lt;/p&gt;&lt;p&gt;All my other RPC calls seem normal. This is giving me responses between 14-20 seconds.&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10023/why-did-a-subscribe-api-call-take-a-long-time</guid>
<pubDate>Thu, 21 Jun 2018 18:08:54 +0000</pubDate>
</item>
<item>
<title>Can we set mining permission (for first and other blocks) according to user permissions?</title>
<link>https://www.multichain.com/qa/4654/mining-permission-first-other-blocks-according-permissions</link>
<description>I was wandering if there is any way I can configure the parameters in such a way to give mining rights for first transaction (asset coining) only to users who have mining permissions. While after first block confirmation, leave mining open to everybody or rather allow mining only to those who have issueing rights?..&lt;br /&gt;
&lt;br /&gt;
I was also wondering if we can specify mining rights according to the asset/permissions combination?&lt;br /&gt;
&lt;br /&gt;
Thank you!</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4654/mining-permission-first-other-blocks-according-permissions</guid>
<pubDate>Wed, 05 Apr 2017 22:26:08 +0000</pubDate>
</item>
<item>
<title>stream data replicated everywhere?</title>
<link>https://www.multichain.com/qa/4444/stream-data-replicated-everywhere</link>
<description>Is stream data replicated across all nodes, or only nodes that subscribe to that data?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
thanks,&lt;br /&gt;
&lt;br /&gt;
jas</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4444/stream-data-replicated-everywhere</guid>
<pubDate>Tue, 21 Mar 2017 20:07:21 +0000</pubDate>
</item>
<item>
<title>Subscribe blocks for a long time</title>
<link>https://www.multichain.com/qa/2893/subscribe-blocks-for-a-long-time</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
Subscribing to a stream for a second time blocks for a very long time. Is this by-design?&lt;br /&gt;
&lt;br /&gt;
kind regards&lt;br /&gt;
&lt;br /&gt;
Fuzz</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2893/subscribe-blocks-for-a-long-time</guid>
<pubDate>Fri, 14 Oct 2016 12:16:46 +0000</pubDate>
</item>
<item>
<title>Can we include permission to only allow certain address to subscribe to streams?</title>
<link>https://www.multichain.com/qa/2867/include-permission-allow-certain-address-subscribe-streams</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
Is it possible to allow some address to subscribe to streams? My use case is only allowing authorized address to view the stream data.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2867/include-permission-allow-certain-address-subscribe-streams</guid>
<pubDate>Tue, 11 Oct 2016 05:52:33 +0000</pubDate>
</item>
</channel>
</rss>