4,166 questions
4,379 answers
5,732 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.