#i think you can get this data via the
1 messages ยท Page 1 of 1 (latest)
Please give me some pointers. Your responses will be useful to others also. I'm used to cosmos-sdk way of querying staking rewards. So, adjusting to Namada's new world. I don't see any rpc apis to query stake or rewards on Namada RPCs https://rpc.namada.citizenweb3.com/
Just to draw a comparison, I would query the delegator rewards on Lavachain using. the /delegators/{delegator_address}/rewards on the api server - https://lava-testnet.api.kjnodes.com/. This also supports historical querying at a specified height.
Is there an equivalent for Namada? Or is there any other way to find delegator stake, rewards at a specified height/epoch?
Highly appreciate your guidance on this topic. @grave kettle fyi
There's already Undexer, which has the needed capabilities to do what you are mentioning a priori
I've quickly looked at the Undexer v4 spec. When it comes to staking, it only shows the total-staked. How does one get the delegator rewards through Undexer?
Spec I'm referring to: https://github.com/hackbg/undexer/blob/v4/swagger.yaml
If the capability already exists, I'll be very happy to reuse and save some time ๐
Yeah, you can fork it and create the desired endpoint at your will