How to get block's tx fees from RPC?

The same issue was posted recently, I meant to post the link here, just a minute.