How to actually use the data written in the stream

+2 votes
I have created a stream where I have the keys and data for that key stored in a stream. I know that all this is stored somewhere but is encrypted. Is there a way through which I can get this data in a file rather than just dumping that data on the stdout terminal. Or is there an api call that could just return the data stored at the particular key index
asked Mar 26, 2017 by Anish

1 Answer

0 votes

You're probably looking for the gettxoutdata API, which can be passed the txid and vout values from the stream item, as given in any of the stream listing APIs. You can also use the maxshowndata runtime parameter to control how much data is returned directly by the stream listing APIs. In both cases the data will be in hexadecimal form.

answered Mar 27, 2017 by MultiChain
...