Skip to content

TypeError: multichain.liststreamitems is not a function #29

@mistral61

Description

@mistral61

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions