4,157 questions
4,370 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.