Sort:  

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

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

Topic: Determining beneficiary payouts


Heyooo! Looking for a bit of help w/ the beem.comment module.

It's easy to pull the comment.get_beneficiaries_pct() and the comment.get_rewards()['author_payout'] and do a bit of math to find the value in SBD. But I'm having an issue, because currently, the blockchain is paying out in STEEM, not SBD.

So my question is:

  • the values returned by comment.get_rewards()['author_payout'] -- are the rewards the value of what the post was in STEEM, but normalized to the current SBD rate? Or is the value that this returns simply just what the reward payout WAS worth in SBD at the moment the 7-day window closed?

Currently, my project is accumulating the beneficiary rewards for all posts in a 7-day window and then redistributing them, and I need to be confident of what the values are in STEEM.

Follow up question:

  • Would it be possible to modify the comment.get_rewards() method to include an argument for which asset you'd like the values returned as?
    • e.g.: comment.get_rewards(asset="steem")['author_payout'] or comment.get_rewards(asset="sbd")

Thoughts?

Cheers!


View this topic on TokenBB

Topic: Welcome to the beem tokenbb forum


Welcome to the beem forum

I created this forum using the amazing tokenbb platform to have a place for discussing beem and python related topics.


View this topic on TokenBB

Reply to Welcome to the beem tokenbb forum


I'm hoping that editing will be possible soon ;)


View the topic on TokenBB

Reply to Welcome to the beem tokenbb forum


Wow, this is my introduction to TokenBB. Neat!


View the topic on TokenBB

Reply to Welcome to the beem tokenbb forum


Just gotta never make mistakes. Should be easy enoug.h


View the topic on TokenBB

Reply to Welcome to the beem tokenbb forum


Awesome. Discord is great most of the time (when you happen to catch someone when they're online), but this should be really useful for following up on discussion. Great idea.


View the topic on TokenBB

Reply to Welcome to the beem tokenbb forum


It is in a early stage right now, but It works already.

Creating one it not expensive (10 STEEM), so I tried it.


View the topic on TokenBB

 7 years ago  Reveal Comment

Congratulations @forums.tokenbb! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You got more than 400 replies. Your next target is to reach 500 replies.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!