
I believe none of the alternative steem interfaces shows thatR.I.P steem.rocks. Steemd supports a RPC call which returns the expiring delegations.
It means, you can actually see the exact time when you will get your SP back after the delegation revoke cooldown period. (1 week, 1 month on some cases.)
from steem import Steem
from datetime import datetime, timedelta
from steem.converter import Converter
from steem.amount import Amount
def get_expiring_delegations(username):
s = Steem()
c = Converter()
eight_days_ago = datetime.utcnow() - timedelta(days=8)
expiring_delegations = s.get_expiring_vesting_delegations(
username,
eight_days_ago.strftime("%Y-%m-%dT%H:%M:%S"),
1000
)
for delegation in expiring_delegations:
sp = c.vests_to_sp(Amount(delegation["vesting_shares"]).amount)
expiration = delegation["expiration"]
print(f"{sp} SP will be released at {expiration}")
if __name__ == '__main__':
get_expiring_delegations("emrebeyler")
Example output:
300.24084853296995 SP will be released at 2018-06-20T12:17:30
1201.0209624783504 SP will be released at 2018-06-22T15:10:00
10.011333005430853 SP will be released at 2018-06-25T23:48:45