While I was developing a Smart Filter I encountered a situation where the streamItem.keys[0] was a transactionID and I had to get information about that transactionID.
Basically, I needed a function
getTransaction :: TxID -> { TransationInfo }
where I could pass a transaction ID and receive more information about that transaction.
Use-Case: The user is posting some data into the stream, referring (through a txID in the key), that this new data is supposed to replace an older item with said ID, and I need to make sure that this old ID exists (and a few other properties as well).