diff --git a/silkaj/blockchain_tools.py b/silkaj/blockchain_tools.py index 53ce4de9d3555db0825604de0c767b617e44f50a..d7cfccd770aecedac317c1ad32306c2f642dca9e 100644 --- a/silkaj/blockchain_tools.py +++ b/silkaj/blockchain_tools.py @@ -48,3 +48,7 @@ class HeadBlock: def get_head(self): client = ClientInstance().client return client(blockchain.current) + + +def get_currency(): + return (HeadBlock().head_block)["currency"]