viz.converter¶
Module Contents¶
-
class
Converter(blockchain_instance=None)¶ Bases:
objectConverter simplifies the handling of different metrics of the blockchain.
- Parameters
blockchain_instance (Steemd) – Steemd() instance to use when accessing a RPC
Obtain CORE_TOKEN/SHARES ratio.
Obtain CORE tokens representation of SHARES.
- Parameters
shares (number) – SHARES to convert to CORE
Obtain SHARES from CORE tokens.
- Parameters
amount (number) – amount of CORE tokens to convert