To make it transparent in Polkadot that you received your rewards we want to show the user the events when this happened.
How?
Rewards notifications, such a killer feature!
Listen to claiming extrinsics
To listen for these, shouldn't we be listening for every kind of extrinsic to be able to tell?
We are already listening to all extrinsics I think. We just need to react to the claim extrinsics.
We are already listening to all extrinsics I think. We just need to react to the claim extrinsics.
I don't find this bit in the code :eyes: Unless eventSubscription is doing more than it seems at first sight? Is it also reacting like userTransactionAdded?
Check polkadot-node-subscription > newBlockHandler (line 198)
Check
polkadot-node-subscription>newBlockHandler(line 198)
Oh, I see! Amazing, I can do this !!!
We could standardize events per block on a key: value basis and then analyze those respective the protocol