You are viewing a single comment's thread from:

RE: If you change your SteemDollar balance now, you will receive your interest

in #steem8 years ago (edited)

I totally agree with you. Technically, it is possible to derive the amount of interest you could get if it was payed out to you today by looking into the account details:
interest = interest_rate * sbd_seconds / seconds_per_year

I am not 100% positive on this, but I would say that it evaluates to this in your case:

>>> int(0.1 * 6524189830497 / (60*60*24*356)) * 10 ** -3
21.211

10**-3 is used to get from the "satoshi" values to the actualy SBD amount (precision 3)

Please let me know if you get something around that value. I am curious to know.

Sort:  

I did a happy dance when you first mis-typed 2000+ SBD interest!

21 SBD seems more realistic. Will let you know if anything comes through.

Received interest of 20.704 SBD, so you were pretty much spot on.

How did you work out the sbd seconds? (6524189830497 )

That number is returned by the Steem API node. It's derived internally by the protocol and provided when calling get_account <accountname>

Thanks - I've been following your piston/ python updates... I guess I'm going to have to find the time to get my hands dirty and have a look under the hood of Steem!

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.029
BTC 57440.82
ETH 3108.89
USDT 1.00
SBD 2.42