Closed bizk closed 6 months ago
Thanks for reporting this, I am in the process of fixes the staking derives so I'll look into this today as well.
It currently looks like it has to do with api.derive.staking.queryMulti
.
Im not exactly able to reproduce the above, what chain are you querying westend?
I have been using westend. I got it working by using api.derive.staking.queryMulti
, but I found the behaviour odd
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
When using
api.derive.staking.electedInfo
it will fetch duplicated data that should exist only once.I.e if running the following code
will return something like this (where . . . represents repeated addresses)
REQUIRED:
Version: v11.0.2
Environment: node js v20.12.2
Language: 4.8.3