:mod:`viz.converter` ==================== .. py:module:: viz.converter Module Contents --------------- .. py:class:: Converter(blockchain_instance=None) Bases: :class:`object` Converter simplifies the handling of different metrics of the blockchain. :param Steemd blockchain_instance: Steemd() instance to use when accessing a RPC .. method:: core_per_share(self) Obtain CORE_TOKEN/SHARES ratio. .. method:: shares_to_core(self, shares) Obtain CORE tokens representation of SHARES. :param number shares: SHARES to convert to CORE .. method:: core_to_shares(self, amount) Obtain SHARES from CORE tokens. :param number amount: amount of CORE tokens to convert