How to get events that emitted from EndBlock?

Hi everyone,
How can we get specific events using RPC? There is a txs search api but it doesn’t seems to be able to get events that emitted from BeginBlocker, EndBlocker.
I want to query all events of slashing module to know why a validator was slashed.
Thank you.