4,158 questions
4,371 answers
5,718 comments
Use the getblock API with the block's hash or its height passed as a parameter, and look at the miner field of the response.