<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged listassets</title>
<link>https://www.multichain.com/qa/tag/listassets</link>
<description>Powered by Question2Answer</description>
<item>
<title>List Assets returns a 500 status code when asset doesn't exist</title>
<link>https://www.multichain.com/qa/4910/list-assets-returns-500-status-code-when-asset-doesnt-exist</link>
<description>&lt;pre&gt;{&quot;method&quot;:&quot;listassets&quot;,&quot;params&quot;:[&quot;myAsset&quot;,false],&quot;id&quot;:1,&quot;chain_name&quot;:&quot;test-chain&quot;}

&lt;/pre&gt;&lt;p&gt;I think this must be a recent change as I'm pretty sure listassets&amp;nbsp;didn't do this in previous versions. &amp;nbsp;By returning a 500 most clients (mine included) assume a fatal error of some kind and abort the request. &amp;nbsp;This isn't great since I was checking for the existence of an asset as part of my processing which now fails!&lt;br&gt;&lt;br&gt;This should return a 404 as not found&amp;nbsp;for http consistency or 200 and empty as I'm not techniucally going a &quot;GET&quot;, more a list with a filter, so 200 is probably more consistent.&lt;/p&gt;&lt;p&gt;Either way a 500 is a bit brutal :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Marty&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4910/list-assets-returns-500-status-code-when-asset-doesnt-exist</guid>
<pubDate>Thu, 27 Apr 2017 15:00:29 +0000</pubDate>
</item>
<item>
<title>Any reason for multichain accepting blank assets</title>
<link>https://www.multichain.com/qa/4681/any-reason-for-multichain-accepting-blank-assets</link>
<description>Hi, &lt;br /&gt;
&lt;br /&gt;
Unintentionally, I submitted a blank form without asset name, qty etc and found that I was able to issue multiple blank assets through API. &amp;nbsp;Is there any reason for allowing blank assets into chain or not validated. &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Some entries from listassets command:-&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;[ &amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;issuetxid&amp;quot; : &amp;quot;e5cf26a7f4c04b88ae704a27199f9355a6dd220749b8c8b3fc39b2220fce0833&amp;quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;assetref&amp;quot; : &amp;quot;12330-266-53221&amp;quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;multiple&amp;quot; : 1,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;units&amp;quot; : 1.00000000,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;open&amp;quot; : false,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;details&amp;quot; : {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;issueqty&amp;quot; : 0.00000000,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;issueraw&amp;quot; : 0,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;subscribed&amp;quot; : false&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;issuetxid&amp;quot; : &amp;quot;d20092e38ce64f740648c2058ea86da47a971e584f9bd03bdefe849d7ab77410&amp;quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;assetref&amp;quot; : &amp;quot;12330-530-210&amp;quot;,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;multiple&amp;quot; : 1,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;units&amp;quot; : 1.00000000,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;open&amp;quot; : false,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;details&amp;quot; : {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;issueqty&amp;quot; : 0.00000000,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;issueraw&amp;quot; : 0,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;subscribed&amp;quot; : false&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
]</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4681/any-reason-for-multichain-accepting-blank-assets</guid>
<pubDate>Fri, 07 Apr 2017 05:03:12 +0000</pubDate>
</item>
<item>
<title>Role of “confirmation” attribute,listwallettransactions</title>
<link>https://www.multichain.com/qa/4658/role-of-confirmation-attribute-listwallettransactions</link>
<description>&lt;p&gt;By using &quot;MultiChain API&quot;, created a blockchain over 2 nodes in AWS.&lt;/p&gt;&lt;p&gt;Created 3 &quot;Assets&quot; using following commands on 1st node :&lt;br&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;issue 1VN1TPRteLNSAz8xzzUuUdEzsE9qGFhaG1KBf asset1 1000 0.01&lt;br&gt;issue 1VN1TPRteLNSAz8xzzUuUdEzsE9qGFhaG1KBf asset2 1000 0.01&lt;br&gt;issue 1VN1TPRteLNSAz8xzzUuUdEzsE9qGFhaG1KBf asset3 1000 0.01&lt;/span&gt;&lt;/p&gt;&lt;p&gt;In order to confirm this transaction, executed following command:&lt;br&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;listwallettransactions&lt;/span&gt;&lt;/p&gt;&lt;p&gt;My question is, why &quot;&lt;em&gt;Attribute: confirmation&lt;/em&gt;&quot;, iis increasing &quot;incrementally(&lt;em&gt;after every few seconds&lt;/em&gt;)&quot; AND &quot;variably (i.e. 33,22 &amp;amp; 11)&quot; ?&lt;/p&gt;&lt;p&gt;Is it some kind of &quot;Consensus Building&quot; algorithm in action, in this regard ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4658/role-of-confirmation-attribute-listwallettransactions</guid>
<pubDate>Thu, 06 Apr 2017 05:27:30 +0000</pubDate>
</item>
<item>
<title>Last transaction with Asset in MutliSig Address</title>
<link>https://www.multichain.com/qa/4158/last-transaction-with-asset-in-mutlisig-address</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
One unit of an Asset is on a MultiSig Address. The unit is taken and send again to the same MultiSig Address. And again and again.&lt;br /&gt;
&lt;br /&gt;
I can do it, manually, in using createrawtransaction and keeping the transaction id from the previous transaction.&lt;br /&gt;
&lt;br /&gt;
But, how can I do to find the last transaction if I don't keep it ?&lt;br /&gt;
&lt;br /&gt;
Even in importing MultiSig Address, I can't list transaction with listwallettransaction. And the result of listtransactions is the complete list of transactions without any filter on address or on asset.&lt;br /&gt;
&lt;br /&gt;
Then how can I find transactions linked to an Asset for a multisig address ?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4158/last-transaction-with-asset-in-mutlisig-address</guid>
<pubDate>Tue, 28 Feb 2017 16:58:28 +0000</pubDate>
</item>
<item>
<title>&quot;listassets&quot; does not work from multichain-web-demo</title>
<link>https://www.multichain.com/qa/4051/listassets-does-not-work-from-multichain-web-demo</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am in the &amp;quot;get started&amp;quot; phase and have installed Multichain on Windows 10 from &amp;nbsp;&lt;a href=&quot;http://www.multichain.com/download/multichain-windows-1.0-alpha-28.zip&quot; rel=&quot;nofollow&quot;&gt;http://www.multichain.com/download/multichain-windows-1.0-alpha-28.zip&lt;/a&gt; and the multichain-web-demo from &lt;a href=&quot;https://github.com/MultiChain/multichain-web-demo&quot; rel=&quot;nofollow&quot;&gt;https://github.com/MultiChain/multichain-web-demo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
All commands work fine from the command promt, including the &amp;quot;listassets&amp;quot; command - it shows the six assets I have created so far. But the &amp;quot;listassets&amp;quot; command does not work from the multichain-web-demo. It is used on the &amp;quot;Create Offer&amp;quot; tab to get the list of potential &amp;quot;ask assets&amp;quot;. The call returns no entries, instead I see &amp;quot;Error: HTTP 200&amp;quot; on the &amp;quot;Create Offer&amp;quot; screen and the &amp;quot;Ask asset&amp;quot; drop down list is empty and so I cannot create an offer from the multichain-web-demo. Creating and accepting offers from command line works fine, only problem is the &amp;quot;listassets&amp;quot; call from the multichain-web-demo. All other calls from multichain-web-demo also seem to work.&lt;br /&gt;
&lt;br /&gt;
Any ideas what's wrong here or how I can find out the root cause of this problem? Is there (debug) logging and tracing available for the multichain?&lt;br /&gt;
&lt;br /&gt;
Thanks and best regards,&lt;br /&gt;
Lars</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4051/listassets-does-not-work-from-multichain-web-demo</guid>
<pubDate>Fri, 17 Feb 2017 08:38:31 +0000</pubDate>
</item>
<item>
<title>List all assets</title>
<link>https://www.multichain.com/qa/1286/list-all-assets</link>
<description>Is there a better call than listassets for lisiting all assets.&lt;br /&gt;
&lt;br /&gt;
You told me about list 1 asset but i need them all.&lt;br /&gt;
&lt;br /&gt;
Listassets is still pretty bad. Cpu goes to 100% and is stuck there for 30 min before listing mere 60 000 assets.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1286/list-all-assets</guid>
<pubDate>Mon, 21 Mar 2016 14:24:09 +0000</pubDate>
</item>
<item>
<title>List assets</title>
<link>https://www.multichain.com/qa/1220/list-assets</link>
<description>We have inserted 24 000 assets into 1 node on 1 server in 12 minutes.&lt;br /&gt;
&lt;br /&gt;
At the same time we were inserting 8000 assets into the same chain on 2 other nodes.&lt;br /&gt;
&lt;br /&gt;
This other 2 were inserting significantly slower, probbably becasue they were spending a lot of time on syncing.&lt;br /&gt;
&lt;br /&gt;
Anyway when we finished inserting 24k assets into the first node and while other 2 were still inserting we ran &amp;quot;listassets&amp;quot; on the first one. This took about 3 times more time than it did to insert the 24k assets so naturaly the question is why is it taking so long? Are you aware of this and are you working on it?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1220/list-assets</guid>
<pubDate>Wed, 16 Mar 2016 11:09:30 +0000</pubDate>
</item>
</channel>
</rss>