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