Dev snippet: How to subscribe to blocks