Blockchain Development – How to Check Token Reflection Amount for Wallet Address

blockchaindapp-development

I am learning about blockchain and trying to figure out how to get all inflows of token to my wallet.

Can find all inbound wallet transactions for specific token, but i can't find inflows of reflections. I understood that reflections are not represented as transactions.

What should i look for? Events, logs, receipts?

UPDATE: this link explains well that there is no actual transfer but there is calculation done by contract to include reflections when you invoke balanceOf. I still miss how to get calculation formula.

Best Answer

Well, since I know you are talking about safemoon... it's your balance. The full answer is located in the transfer functions of that contract. Be warned though... it's kind of a mess and it could be cleaner imo.

Related Topic