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

Loading...

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


Wow, this is my introduction to TokenBB. Neat!


View the 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

Reply to Welcome to the beem tokenbb forum


Beempy is perfect, and you are making a good work in every project. Congratulations for this forum. Success!


View the topic on TokenBB

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.034
BTC 64231.88
ETH 3128.59
USDT 1.00
SBD 3.95