How to fetch the list of delegators for a given pool #728
Unanswered
mateusz-wackowski
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
n/a
Describe your question in detail.
Hi,
I'm trying to fetch the list of all delegators delegating to particular pool, is there a way to do so by querying particular resource?
For a pool-level data, I'm using
0x1::delegation_pool::DelegationPool
, but I need to get a granular list of active delegators.Ref: https://github.com/aptos-labs/aptos-core/blob/main/aptos-move/framework/aptos-framework/doc/delegation_pool.md#resource-delegationpool
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
Linux (Ubuntu, Fedora, Windows WSL, etc.)
Which SDK or tool are you using? (if any)
Python SDK
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions