Hi , I created a stream with custom fields key1 and key2 .
multichain-cli chain2 create stream custom1 false {"\"key1\"":"\"value1\"","\"key2\"":"\"value2\"}
{"method":"create","params":["stream","custom1",false,{"key1":"value1","key2":"v
alue2"}],"id":1,"chain_name":"chain2"}
Now how do I pass text to this stream along with custom fields ? I am using multichain-node node js to pass data to stream which look like this
curl -X POST -H 'Content-Type: application/json' -i http://localhost:3000/publish1 --data '{"key":"kefdghh","data":"7888765","key1":"val1","key2":"val2"}'
But doesnot look like working fine. Can I see custom fields in liststreamitems ?