RE: Steem Witness Tax Compliance & A Free Tool for All Witnesses 🏛️⛏️
Irgendwie ist da die falsche Zahl in die Zwischenablage geraten. Ich ändere das gleich.
root@ubuntu:/opt/steemsnap# curl -s -X POST https://api.steemit.com -d '{"jsonrpc":"2.0","method":"condenser_api.get_dynamic_global_properties","params":[],"id":1}' | python3 -c "
import sys,json
r=json.load(sys.stdin)['result']
total_vesting = float(r['total_vesting_shares'].split()[0])
total_fund = float(r['total_vesting_fund_steem'].split()[0])
ratio = total_vesting / total_fund
steem_per_mvests = total_fund / (total_vesting / 1000000)
print('total_vesting_shares:', r['total_vesting_shares'])
print('total_vesting_fund_steem:', r['total_vesting_fund_steem'])
print()
print(f'1 MVESTS = {steem_per_mvests:.3f} STEEM')
print(f'1 SP = {ratio:.3f} VESTS')
print(f'Oder: {ratio/1000:.6f} KVESTS = 1 SP')
"
total_vesting_shares: 322972494323.931103 VESTS
total_vesting_fund_steem: 197287480.750 STEEM
1 MVESTS = 610.849 STEEM
1 SP = 1637.065 VESTS
Oder: 1.637065 KVESTS = 1 SP