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