You are viewing a single comment's thread from:

RE: The Daily Adventures of a SteemPeak Developer #4 - SCOT Rewards Included in the Feeds

in #dailyadventures5 years ago

Glad you mentioned this. We have talked about this topic internally too in the past days. Unfortunately the value returned is in PAL and there isn't an easy way to show the USD reward. We had a way to get the USD amount for standard Steem Payout, but now that we have more than one token is not so easy to get the total value.

Probably this can be done for the 'estimated' value on pending payouts (it will take more code and some more API calls). But the real challenge is to get the correct value for post already paid because I don't think there is an API to view the historical price of the steem-engine tokens. Getting the USD payout for a post paid 1 month ago will be really difficult.

Coin Marketplace

STEEM 0.23
TRX 0.21
JST 0.035
BTC 96394.48
ETH 3329.30
USDT 1.00
SBD 3.17