I'm beginning to use multichain-node, for publish and listaddresses all working , i tried liststreamitems (also liststreamkeyitems) and i got the error in the subject.
My code;:
multichain.liststreamkeyitems({
stream: 'food',
key: 'usr1'
}, (err, info) => {
if(err){
console.log(err);
throw err;
}else{
console.log('Response publish: ' + info);
response.json({ transactionId: info });
}
})
Not a function? what is wrong in my code?