example of querying in batches - Blockchain Data API