Question: How to figure out how much and by whom is delegated to an account using the Steem API or steem-python?
I am trying to figure out how I can determine how much SP are delegated to a particular account and by whom. It is important to do this without using third party services (like steemreports), but by interacting with a blockchain node directly. Hence, I want to use the Steem API directly or, preferably, use the steem-python
wrapper library.
Anyone around here knowing how this works? Maybe @justyy? Thanks a lot :-)
EDIT: All I could come up with so far is this:
[x for x in account.history_reverse(filter_by='delegate_vesting_shares')]
But this seems to be a bit over top!? Doesn't it? I don't want to stream the entire history everytime I need an update on the vested shares.
Updated the post with a solution I don't really fancy :-D
I just used a API from @Justyy for similar purpose on the Delegation Pages for SteemMakers it uses https://uploadbeta.com/api/steemit/delegators/?cached&id=steemmakers to get a JSON list of delegators and their stake.
Excellent i like u
follow and upvote plz do same
@zeshanali
Thanks, but the thing is, I don't want to rely on a third party API, that's kind of a hard constraint.
great things
very good
Can you say in your own words what my question is about?
Machine learn that spam comment :D
Hab deinen Post im discord gesehen. Ich probiers auch mal mit der justy Lösung.