You are viewing a single comment's thread from:

RE: Forum beem

in #tokenbb6 years ago (edited)

Topic: Getting Incoming Delegations


Wondering what the best way to get a list of incoming delegations is. Currently parsing the Account.get_account_history() return, but some old delegations aren't being displayed, as they're too old to be returned under the limit of 10,000 operations).

Is there any method similar to, say, Account.get_incoming_delegations() ? Is something like that even possible? @holger80?


View this topic on TokenBB

Sort:  

Reply to Getting Incoming Delegations


After spending a couple minutes looking, seems like using:

hist = account.history(only_ops=['delegate_vesting_shares'])

returns everything nicely!

Woop! Beempy for the win.


View the topic on TokenBB