new iterated client rest endpoint for getting a sample from a chain.