fetch filtered blocks.