Steem Rewards History CSV Exporter (via SteemData.com)

Crypto is growing up a lot faster than many of us ever imagined. With mainstream adoption of the blockchain inching closer and governments taking notice, being personally responsible and trying to stay legit has proven a difficult challenge.

A large portion of this challenge is tax liability in relation to your crypto earnings. Regardless of your opinion on the subject of taxes - if you plan on staying legit, it's something you'll want to end up accounting for in one way or another.

This post is not tax advice and doesn't serve to provide any guidance on how to report Steem earnings.

I won't pretend to know what I'm talking about here. Tax law is a subject that I am not well versed in and you shouldn't listen to anyone randomly on the internet about what you should do. Hire a professional if you need advice.

With that out of the way, what I can offer assistance in is the retrieval of account history in a way I believe will be useful for accounting.

Rewards History Exporter

I have created a small set of aggregation queries that utility @furion's SteemData.com. These queries can be batched/executed from a command line interface, provided the mongo-shell application is currently installed.

https://github.com/aaroncox/steemdata-reward-history

This isn't an ideal solution and not everyone has the knowledge required to use this tool, but my hopes is that those who can use it will help those that can't. Hell, maybe someone will wrap a gui-like interface around it or even create a bot that will do it for anyone that requests it.

What this tool does is allows you to specify an account name and a year and retrieve the following information by date:

  • Witness Rewards
  • Author Rewards
  • Curation Rewards
  • Beneficiary Rewards
  • Powerdown events (in the case you are advised to account for this)

The script itself generates a CSV (aka "spreadsheet compatible" file) for each of the above. These CSVs are grouped by date and a real USD value is determined based on historical prices. This data can then be interpreted and used for accounting purposes.

For example, here is a portion of the CSV for my author rewards:

datesbdvestssteemspusd_steem_gainusd_sbd_gainusd_total_gain
2017-1-30.255103.9289650.7082.443710.5040.250.754274
2017-1-220.026513.0885260.0780.2454530.05170.025740.077492
2017-1-2477.9391545245.306209244.514740.562147.76177.939225.700457
2017-2-121.99946554.7869778.41722.2597904.2942.018996.313740
2017-2-153.3995125.14475520.39845.3334898.5453.356111.901193
2017-2-175.334155588.30048834.35874.57793815.2515.28020.53169
2017-2-185.584166049.72356737.20379.63288515.185.5281620.716825
2017-2-210.007293.6731910.0810.14058070.0240.006930.031303

The date and usd_total_gain are likely the only two fields that actually matter when it comes to accounting, but the rest are included to show the breakdown of which currencies were earned on those dates and how much.

Contributions welcome!

I built this application based on the expectations of a handful of interpretations of the current laws - you may find you need the data represented differently. I'd welcome anyone that needs additional/alternative reporting to contribute to the project or simply fork it to make your own.

Over the course of the next few years, an incredible demand will exist for software that accomplishes this sort of accounting, not just for Steem but for all blockchain related projects.

Special thanks out to @furion for running SteemData.com and reindexing the database recently to account for some missing data!

H2
H3
H4
3 columns
2 columns
1 column
57 Comments
Ecency