About FEE and TIP of the POLKADOT

self.dot1m ago
Please, can you help me? Currently, I want to collect the fee and tip data (maybe 10s I will get fee and tip data once), so I show it on my matrix Can you direct me to do this? maybe use api or rpc to collect this data? Thank you so much!!!