4,157 questions
4,370 answers
5,718 comments
By default stream items are actually on-chain, you need to pass the extra parameter offchain to publish them off-chain (with just a hash on chain). And the method of item retrieval is the same in either case, as described in the 'Querying subscribed streams' APIs here:
https://www.multichain.com/developers/json-rpc-api/