Data Retrieval Speed in Streams Versus Asset Transactions

+3 votes

Kindly answer whether data retrieval in streams is faster in terms of time than the retrieving of meta data from an asset transaction? I am saying this after studying the article from  You are therefore requested for the confirmation.

asked Jun 15, 2019 by Kashif.Mehboob

1 Answer

+1 vote

It depends on exactly which API you intend to use to extract the metadata. In terms of retrieval time there will not be much difference between subscribing to an asset and calling getassettransaction, and subscribing to a stream and calling getstreamitem. Both of these APIs require knowing the txid of the transaction. The advantage of using a stream is that you have many more flexible ways to index and retrieve the data.

answered Jun 17, 2019 by MultiChain
Okay let me rephrase my question, If a send two different transactions; one is an asset transaction and the other is an stream transaction. Don't you think stream transaction will respond earlier than the asset transaction as streams are not stored like the lowest asset transfer transaction as it has been written in multichain recommended paper
I'm not sure what you mean by "respond earlier" in the context of a transaction. Both transactions would propagate and be confirmed at the same speed as each other – there is no difference there. Did I understand the question?