Can multichain be used to save structured data or any data other than transactions?

+1 vote
Can multichain be used to save structured data or any data other than transactions? We are looking at a use case where some existing data which resides in database can be made available on blockchain.

Can multichain be used as data store instead of a database table? If yes, please point to the relevant documentation.
asked Feb 11, 2016 by Sam

1 Answer

0 votes

Yes, you can do this now using transaction metadata, e.g. the sendwithmetadata API call, but retrieval is not as convenient as it should be. (For now your best workaround is to always send the data to the same address, then use importaddress on each node to make sure it can easily retrieve transactions sent to that address.)

But: we're working on a set of APIs to make MultiChain much better suited for this use case.

answered Feb 11, 2016 by MultiChain
Thank you for the answer. What is the best way to retrieve the data from multichain? Do I need to know some Hash to be able to query? I am new to multichain and exploring if it will suit our requirement.
If you always send the metadata in transactions to the same address, and use importaddress to add that address to a node, then you can retrieve the data using listaddresstransactions / getaddresstransaction.
Thanks, the listaddresstransactions helps. I was trying a similar use case.
...