Writing streanm filter with specific function

+2 votes
Hi,

I am looking to create a smart filter that makes sure if you post an item with key value x that the last item on the stream had key value y in order to post it. Is there a way to perform this check? I couldn't follow the API very well to know if there was a good way to make sure. Thanks
asked Jul 3, 2019 by anonymous

1 Answer

0 votes
Stream filters cannot currently refer back to previous items in a stream as part of their verification rules. This may be a capability we add in future - we are looking into it.
answered Jul 5, 2019 by MultiChain
...