I run a validator and have a delegator asking how to see lifetime rewards earnings for his stake account.
I have used solana stakes --withdraw-authority <wallet pubkey>
to show stake account pubkeys associated with his wallet, and then used solana inflation rewards <stake account pubkey>
to show the rewards for that stake account (current epoch) and add the flag --rewards-epoch xxx
to show a specific epoch reward.
However, I would like to see the lifetime earnings of that stake account since it was delegated to my validator. Can this be done?