diff --git a/silkaj/blockchain_tools.py b/silkaj/blockchain_tools.py index 97df58f47817980268365723f276ff5119337338..c8522ba087bd60d21e339456b1056848124f363e 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"]