Writing streanm filter with specific function

+1 vote

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 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 by MultiChain