Skip to content
Snippets Groups Projects
Commit 8df6e36c authored by matograine's avatar matograine
Browse files

[enh] #413 create function get_currency

parent 11a6ae89
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment