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

As some of you already know we are going to include the SCOT Tribes (of which PALnet is the most known) in SteemPeak. With the next release PALnet and Splintertalk will be available and others can be enabled talking directly to the tribe owner and the Steem Engine team.

I'm not going to explain in this post what a Tribe is, check the blogs by @aggroed or @holger80 to read more about Scotbot and tribes.

The first important decision we took was to integrate the tribes directly into the website, so don't expect a new website for each tribe as you may have seen with and This is what we think is the best approach to enjoy both the new tribes and the standard Steem features, but required some work to allow the rewards to be displayed in the standard pages.

Keep reading to find out how these rewards are loaded and to get a quick preview of what wil be available in the next release.

SCOT Rewards included in the standard Feeds


Read other posts in the series HERE

If you have used the Steem API before you know that for most pages one of the following API are used:


Of course those API include only standard Steem details. To load additional SCOT rewards another call is required and fortunately it is pretty straightforward:

We don't need to do this call on each posts fetched in the feed, but only for posts having one (or more) of the correct tags to be processed by Scotbot (at the time of this post only palnet, spt and splintertalk).

This calls returns all the details available for a post in the Scot instance. For example with this call you'll get the following result (I removed some parts to make it easier to read):

    "desc":"As some of you may have noticed I'm trying to post more consistently...",
    "json_metadata":"{\"app\": \"steempeak/1.12.2\", , ...}",
    "title":"On The Way Back Home",

After parsing and attaching those information to the post retrieved with the Steem API we have everything required to display the additional rewards details on the post payout.
Considering that multiple tokens can be associated with a single post and that the space available in the post footer is quite limited I added a small icon indicating the additional rewards and moved all the additional details in the tooltip.

This is a preview of the payout of one of my recent posts having both Steem and PAL.


I hope you like it and that you'll find it useful. Of course there will be other pages included in the next release related to the Tribes, but for this post I think to have already shown enough :D

As always feedback and suggestion are much appreciated, both in the comments or on our Discord ;)


3 columns
2 columns
1 column