create account

Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem by krischik

View this thread on: hive.blogpeakd.comecency.com
· @krischik · (edited)
$19.77
Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem
![Steemit_Ruby.png](https://steemitimages.com/500x270/https://ipfs.busy.org/ipfs/QmSDiHZ9ng7BfYFMkvwYtNVPrw3nvbzKBA1gEj3y9vU6qN)

## Repositories
### SteemRubyTutorial

You can find all examples from this tutorial as fully functional scripts on GitHub:

* [SteemRubyTutorial](https://github.com/krischik/SteemRubyTutorial)

### steem-ruby

* Project Name: Steem Ruby
* Repository: [https://github.com/steemit/steem-ruby](https://github.com/steemit/steem-ruby)
* Official Documentation: [https://github.com/steemit/steem-ruby](https://github.com/steemit/steem-ruby)
* Official Tutorial: N/A

### radiator

* Project Name: Radiator
* Repository: [https://github.com/inertia186/radiator](https://github.com/inertia186/radiator)
* Official Documentation: [https://www.rubydoc.info/gems/radiator](https://www.rubydoc.info/gems/radiator)
* Official Tutorial: [https://developers.steem.io/tutorials-ruby/getting_started](https://developers.steem.io/tutorials-ruby/getting_started)

## What Will I Learn?

This tutorial shows how to interact with the Steem blockchain and Steem database using Ruby. When using Ruby you have two APIs available to chose: **steem-api** and **radiator** which differentiates in how return values and errors are handled:

* **steem-api** uses closures and exceptions and provides low level computer readable data.
* **radiator** uses classic function return values and provides high level human readable data.

Since both APIs have advantages and disadvantages I have provided sample code for both APIs so you can decide which is more suitable for you.

In this 4th part you learn how VESTS, Steem Power and STEEM are connected and can be converted.


## Requirements

You should have basic knowledge of Ruby programming you need to install at least Ruby 2.5 as well as the following ruby gems:

```sh
gem install bundler
gem install colorize
gem install steem-ruby
gem install radiator
```

**Note:** Both steem-ruby and radiator provide a file called `steem.rb`. This means that:

1. When you install both APIs you need to tell ruby which one to use.
2. You can't use both APIs in the same script.

You should also have read [Part 2](https://steemit.com/@krischik/using-steem-api-with-ruby-part-2) and [Part 3](https://steemit.com/@krischik/using-steem-api-with-ruby-part-4) of the tutorial as this part build on them.

If there is anything not clear you can ask in the comments.

## Difficulty

Provided you have some programming experience this tutorial is **basic level**.

## Tutorial Contents

When you take a look at your account wallet you find three values: Steem, Steem Power and Steem Dollar.

![Screenshot at Feb 04 142910.png](https://files.steempeak.com/file/steempeak/krischik/wacyfyC6-Screenshot20at20Feb20042014-29-10.png)

With both Steem and Steem Power measured in Steem and Steem Dollar in SBD or just a $ sign. However, if you look at the output of [Tutorial Part 2](https://steemit.com/@krischik/using-steem-api-with-ruby-part-2) you will see that there is no Steem Power — just a few ridiculous large values called vesting measured in VESTS:

![Screenshot at Jan 27 17-44-14.png](https://ipfs.busy.org/ipfs/QmS3Cd7342izfri5EXGTcGYTCvNzUEWELASy8z4hFuSMso)

This vesting is the Steem Power. However since VESTS values are ridiculous large they are usually not displayed anywhere in the user interface. Instead the amount of Steem needed buy the VESTS (called power up) or you get when you sell your VESTS (called power down) is displayed. The conversion is done by the following formula:

![steem = vest \frac{total\_vesting\_fund\_steem}{total\_vesting\_shares}](https://ipfs.busy.org/ipfs/QmfH95PyxxyTpc9N9GcXoxaPA9WAyVJ39WPs7x2r3Kbho8)

Note that `total_vesting_fund_steem` and `total_vesting_shares` aren't constant and this is the reason why it seems that your Steem power is slowly increasing for no apparent reason: VESTS are constantly getting more expensive and the user interface is showing the amount of Steem you would get if you sell your VESTS today.

After all this theory let's get to the practical part. I made a VESTS to Steem script using `steem-ruby` and a Steem to VESTS script using `radiator`. In example calls I convert the Steem Power of the various user level:

<table>
  <thead>
    <tr>
      <th>Logo</th>
      <th>Level</th>
      <th>Your Steem Power in VESTS</th>
      <th>Your Steem Power in Steem</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><img src="https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/3VLfwgNG-level-1.png"></td>
      <td>Plankton</td>
      <td>0 to 999'999 VESTS</td>
      <td>0 to ≈500 Steem</td>
    </tr>
    <tr>
      <td><img src="https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/qPcjmq8w-level-2.png"></td>
      <td>Minnow</td>
      <td>1'000'000 to 9'999'999 VESTS</td>
      <td>≈500 to ≈5'000 Steem</td>
    </tr>
    <tr>
      <td><img src="https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/PiSDad7z-level-3.png"></td>
      <td>Dolphin</td>
      <td>10'000'000 to 99'999'999 VESTS</td>
      <td>≈5'000 to ≈50'000 Steem</td>
    </tr>
    <tr>
      <td><img src="https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/S524LYrT-level-4.png"></td>
      <td>Ocra</td>
      <td>100'000'000 to 999'999'999 VESTS</td>
      <td>≈50'000 to ≈500'000 Steem</td>
    </tr>
    <tr>
      <td><img src="https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/AnEJ7qNO-level-5.png"></td>
      <td>Whale</td>
      <td>more than 1'000'000'000 VESTS</td>
      <td>more than ≈500'000 Steem</td>
    </tr>
  </tbody>
</table>

**Note:** I don't copy paste the whole scripts any more as this would just be repetitive. Just the part needed to understand the lesson. The fully commented and fully functional scripts are available on [Github](https://github.com/krischik/SteemRubyTutorial/tree/master/Scripts).

## Implementation using steem-ruby

The first script [Steem_From_VEST.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem_From_VEST.rb) converts VESTS to Steem:

-----

Shows usage help if the no values are given to convert.

```ruby
if ARGV.length == 0 then
   puts """
Steem_From_VEST — Print convert list of VESTS value to Steem values

Usage:
   Steem-Print-Balances values …

"""
else
```

read arguments from command line

```ruby
   Values = ARGV
```

Calculate the conversion Rate. We use the Amount class from [Part 2](https://steemit.com/@krischik/using-steem-api-with-ruby-part-2) to convert the string values into amounts.

```ruby
   _total_vesting_fund_steem = Amount.new Global_Properties.total_vesting_fund_steem
   _total_vesting_shares     = Amount.new Global_Properties.total_vesting_shares
   _conversion_rate          = _total_vesting_fund_steem / _total_vesting_shares
```

iterate over the valued passed in the command line

```ruby
   Values.each do |value|
```

convert the value to steem by multiplying with the conversion rate and display the value

```ruby
      _steem = value.to_f * _conversion_rate
      puts "%1$18.6f VESTS = %2$15.3f STEEM" % [value, _steem]
   end
end
```

-----

**Hint:** Follow this link to Github for the complete script with syntax highlighting: [Steem_From_VEST.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem_From_VEST.rb).

The output of the command (for the steem account) looks like this:

![Screenshot at Feb 04 165002.png](https://files.steempeak.com/file/steempeak/krischik/jLeQPYTY-Screenshot20at20Feb20042016-50-02.png)

As you can see the Steem values of the user levels are slightly below 500, 5000, … . Remember that VESTS get more expensive so one million VESTS will eventually cost more then 500 Steem.

## Implementation using radiator

The second script [Steem_To_VEST.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem_To_VEST.rb) converts VESTS to Steem. Apart from printout there is only one character difference.

-----

Shows usage help if the no values are given to convert.

```ruby
if ARGV.length == 0 then
   puts """
Steem_To_VEST — Print convert list of Steem value to VESTS values

Usage:
   Steem-Print-Balances values …

"""
else
```

read arguments from command line

```ruby
   Values = ARGV
```

Calculate the conversion Rate. We use the Amount class from [Part 2 of the tutorial](https://steemit.com/@krischik/using-steem-api-with-ruby-part-2) to convert the string values into amounts.

```ruby
   _total_vesting_fund_steem = Amount.new Global_Properties.total_vesting_fund_steem
   _total_vesting_shares     = Amount.new Global_Properties.total_vesting_shares
   _conversion_rate          = _total_vesting_fund_steem / _total_vesting_shares
```

iterate over the valued passed in the command line

```ruby
   Values.each do |value|
```

convert the value to steem by dividing with the conversion rate and display the value. Here is the actual difference: A division instead of a multiplication.

```ruby
      _vest = value.to_f / _conversion_rate
      puts "%1$15.3f STEEM = %2$18.6f VEST" % [value, _vest]
   end
end
```

-----

**Hint:** Follow this link to Github for the complete script with syntax highlighting: [Steem_To_VEST.rb](https://github.com/krischik/SteemRubyTutorial/blob/master/Scripts/Steem_To_VEST.rb).

The output of the command (for the steem account) looks identical to the previous output:

![Screenshot at Feb 05 141113.png](https://files.steempeak.com/file/steempeak/krischik/Vj96MH4f-Screenshot20at20Feb20052014-11-13.png)

As you see buying Steem Power for 500, 5000 … Steem will get you slightly more VESTS then 1 million, 10 million … putting you will within the the respective user level. But remember, by the time you read this you will get less VEST then displayed.

# Curriculum
## First tutorial

* [Using Steem-API with Ruby Part 1](https://steemit.com/@krischik/using-steem-api-with-ruby-part-1)

## Previous tutorial

* [Using Steem-API with Ruby Part 3](https://steemit.com/@krischik/using-steem-api-with-ruby-part-3)

## Next tutorial

* [Using Steem-API with Ruby Part 5](https://steemit.com/@krischik/using-steem-api-with-ruby-part-5)

## Proof of Work

* [SteemRubyTutorial Issue #5](https://github.com/krischik/SteemRubyTutorial/issues/5)

## Image Source

* Ruby symbol: [Wikimedia](https://commons.wikimedia.org/wiki/File:Ruby_logo.svg), CC BY-SA 2.5.
* Steemit logo [Wikimedia](https://commons.wikimedia.org/wiki/File:Steemit_New_Logo.png), CC BY-SA 4.0.
* Steem Power logos: [SteemitBoard](http://steemitboard.com), @captaink
* Screenshots: @krischik, CC BY-NC-SA 4.0

## Beneficiary

![image.png](https://files.steempeak.com/file/steempeak/krischik/OJZDys0B-image.png)

<center> ![comment](https://steemitimages.com/50x60/http://steemitboard.com/@krischik/Comments.png) ![votes](http://steemitimages.com/60x70/http://steemitboard.com/@krischik/Votes.png) ![posts](http://steemitimages.com/70x80/http://steemitboard.com/@krischik/Posts.png) ![level](http://steemitimages.com/100x80/http://steemitboard.com/@krischik/Level.png) ![payout](http://steemitimages.com/70x80/http://steemitboard.com/@krischik/Payout.png) ![commented](http://steemitimages.com/60x70/http://steemitboard.com/@krischik/Commented.png) ![voted](https://steemitimages.com/50x60/http://steemitboard.com/@krischik/voted.png) </center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorkrischik
permlinkusing-steem-api-with-ruby-part-4
categoryutopian-io
json_metadata{"community":"steempeak","app":"steempeak/1.7.2b","format":"markdown","tags":["utopian-io","tutorials","ruby","steem-api","programming"],"users":["krischik","captaink"],"links":["https://github.com/krischik/SteemRubyTutorial","https://github.com/steemit/steem-ruby","https://github.com/steemit/steem-ruby","https://github.com/inertia186/radiator","https://www.rubydoc.info/gems/radiator","https://developers.steem.io/tutorials-ruby/getting_started","https://steemit.com/@krischik/using-steem-api-with-ruby-part-2","https://steemit.com/@krischik/using-steem-api-with-ruby-part-4","https://steemit.com/@krischik/using-steem-api-with-ruby-part-2","https://github.com/krischik/SteemRubyTutorial/tree/master/Scripts"],"image":["https://steemitimages.com/500x270/https://ipfs.busy.org/ipfs/QmSDiHZ9ng7BfYFMkvwYtNVPrw3nvbzKBA1gEj3y9vU6qN","https://files.steempeak.com/file/steempeak/krischik/wacyfyC6-Screenshot20at20Feb20042014-29-10.png","https://ipfs.busy.org/ipfs/QmS3Cd7342izfri5EXGTcGYTCvNzUEWELASy8z4hFuSMso","https://ipfs.busy.org/ipfs/QmfH95PyxxyTpc9N9GcXoxaPA9WAyVJ39WPs7x2r3Kbho8","https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/3VLfwgNG-level-1.png","https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/qPcjmq8w-level-2.png","https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/PiSDad7z-level-3.png","https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/S524LYrT-level-4.png","https://steemitimages.com/100x100/https://files.steempeak.com/file/steempeak/krischik/AnEJ7qNO-level-5.png","https://files.steempeak.com/file/steempeak/krischik/jLeQPYTY-Screenshot20at20Feb20042016-50-02.png","https://files.steempeak.com/file/steempeak/krischik/Vj96MH4f-Screenshot20at20Feb20052014-11-13.png","https://files.steempeak.com/file/steempeak/krischik/OJZDys0B-image.png","https://steemitimages.com/50x60/http://steemitboard.com/@krischik/Comments.png","http://steemitimages.com/60x70/http://steemitboard.com/@krischik/Votes.png","http://steemitimages.com/70x80/http://steemitboard.com/@krischik/Posts.png","http://steemitimages.com/100x80/http://steemitboard.com/@krischik/Level.png","http://steemitimages.com/70x80/http://steemitboard.com/@krischik/Payout.png","http://steemitimages.com/60x70/http://steemitboard.com/@krischik/Commented.png","https://steemitimages.com/50x60/http://steemitboard.com/@krischik/voted.png"]}
created2019-02-05 19:18:36
last_update2019-02-07 12:10:06
depth0
children8
last_payout2019-02-12 19:18:36
cashout_time1969-12-31 23:59:59
total_payout_value14.564 HBD
curator_payout_value5.201 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11,415
author_reputation15,247,708,436,415
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries
0.
accountsteempeak
weight500
1.
accountutopian.pay
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,446,619
net_rshares44,871,387,941,546
author_curate_reward""
vote details (33)
@portugalcoin ·
$7.36
Thank you for your contribution @krischik.
After analyzing your tutorial we suggest the following points below:

- We suggest that you further detail your tutorial.

- In images that are not yours, always place the image source.

- In code sections it is very important to have comments, for the less experienced reader it is good to reinforce the explanation in the code.

Looking forward to your upcoming tutorials.

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/8/3-1-1-1-3-3-2-3-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
👍  , , , , , , , , , , , , , , , , , ,
properties (23)
authorportugalcoin
permlinkre-krischik-using-steem-api-with-ruby-part-4-20190206t223343238z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["krischik"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/8/3-1-1-1-3-3-2-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2019-02-06 22:33:42
last_update2019-02-06 22:33:42
depth1
children3
last_payout2019-02-13 22:33:42
cashout_time1969-12-31 23:59:59
total_payout_value5.591 HBD
curator_payout_value1.765 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length869
author_reputation599,460,589,822,571
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,500,626
net_rshares15,583,797,038,577
author_curate_reward""
vote details (19)
@krischik ·
> In code sections it is very important to have comments

This is a litte back and forth. Some moderators wish for explanations in comments others for explanations as plain text - which is mutually exclusive unless you repeat the information.

Right now i compromise by supplying a fully commented version of the script on Github. I also have all the boiler plate code on Github so not to repeat them in every part of the tutorial.

Posted using [Partiko Android](https://steemit.com/@partiko-android)
properties (22)
authorkrischik
permlinkkrischik-re-portugalcoin-re-krischik-using-steem-api-with-ruby-part-4-20190207t062817232z
categoryutopian-io
json_metadata"{\"app\":\"partiko\",\"client\":\"android\"}"
created2019-02-07 06:28:18
last_update2019-02-07 06:28:18
depth2
children0
last_payout2019-02-14 06:28:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length501
author_reputation15,247,708,436,415
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,513,233
net_rshares0
@krischik ·
> In images that are not yours, always place the image source.

Done.
properties (22)
authorkrischik
permlinkre-portugalcoin-re-krischik-using-steem-api-with-ruby-part-4-20190207t121255967z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"steempeak","app":"steempeak/1.7.2b"}
created2019-02-07 12:12:57
last_update2019-02-07 12:12:57
depth2
children0
last_payout2019-02-14 12:12:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length69
author_reputation15,247,708,436,415
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,523,535
net_rshares0
@utopian-io ·
Thank you for your review, @portugalcoin! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-krischik-using-steem-api-with-ruby-part-4-20190206t223343238z-20190209t143115z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-02-09 14:31:18
last_update2019-02-09 14:31:18
depth2
children0
last_payout2019-02-16 14:31:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length64
author_reputation152,955,367,999,756
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,621,361
net_rshares0
@steem-plus ·
SteemPlus upvote
Hi, @krischik!

You just got a **0.94%** upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in [here](https://steemit.com/@steem-plus) to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
properties (22)
authorsteem-plus
permlinkusing-steem-api-with-ruby-part-4---vote-steemplus
categoryutopian-io
json_metadata{}
created2019-02-06 14:25:00
last_update2019-02-06 14:25:00
depth1
children0
last_payout2019-02-13 14:25:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length435
author_reputation247,952,188,232,400
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,482,698
net_rshares0
@steem-ua ·
#### Hi @krischik!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
properties (22)
authorsteem-ua
permlinkre-using-steem-api-with-ruby-part-4-20190206t232236z
categoryutopian-io
json_metadata"{"app": "beem/0.20.18"}"
created2019-02-06 23:22:36
last_update2019-02-06 23:22:36
depth1
children0
last_payout2019-02-13 23:22:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length287
author_reputation23,214,230,978,060
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,502,149
net_rshares0
@steemitboard ·
Congratulations @krischik! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@krischik/payout.png?201902071105</td><td>You received more than 100 as payout for your posts. Your next target is to reach a total payout of 250</td></tr>
</table>

<sub>_[Click here to view your Board](https://steemitboard.com/@krischik)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



> You can upvote this notification to help all Steemit users. Learn why [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
👍  
properties (23)
authorsteemitboard
permlinksteemitboard-notify-krischik-20190207t120450000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-02-07 12:04:51
last_update2019-02-07 12:04:51
depth1
children0
last_payout2019-02-14 12:04:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length725
author_reputation38,975,615,169,260
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,523,244
net_rshares27,407,434,316
author_curate_reward""
vote details (1)
@utopian-io ·
Hey, @krischik!

**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Get higher incentives and support Utopian.io!**
 Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
👍  
properties (23)
authorutopian-io
permlinkre-using-steem-api-with-ruby-part-4-20190207t155111z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-02-07 15:51:12
last_update2019-02-07 15:51:12
depth1
children0
last_payout2019-02-14 15:51:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length590
author_reputation152,955,367,999,756
root_title"Using Steem-API with Ruby Part 4 — Convert VESTS ⇔ Steem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,532,477
net_rshares27,967,379,671
author_curate_reward""
vote details (1)