Beispiel #1
0
 def get_holders(asset):
     holders = util.holders(db, asset)
     return holders
Beispiel #2
0
 def get_holder_count(asset):
     holders = util.holders(db, asset)
     addresses = []
     for holder in holders:
         addresses.append(holder['address'])
     return {asset: len(set(addresses))}