Python Beem Blurt Project #6 - Delegation

in python •  last month 

0.png
https://floating-meadow-28045.herokuapp.com/blurt/

I had a little time today so I was able to add the delegation tab.
I think outgoing and Expiring are working fine, but incoming gets weird sometimes?

I get incoming delegations from account history with "delegate_vesting_shares" option like this

for operation in self.account.history(
  only_ops=["delegate_vesting_shares"]):

but this doesn't get all the delegation operations for some reason... idk
It is half decent so I am a give a go with this.
If it doesn't work well, I will think about this later 😂


Get Rewarded For Browsing! Are you Brave?

happy tears
➡️ Website
➡️ Twitter

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @tomoyan! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You have been a buzzy bee and published a post every day of the week

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @hivebuzz:

Hivebuzz support the Papillon Foundation Charity project