@apigen.command()
    def received(self, moniker):

        # sanitize inputs
        asset = sanitize.asset(self.model, moniker)

        received = {}
        def reformat(data):
            coloraddress = data['color_address']
            colorvalue = data['value'].get_value()
            return (coloraddress, asset.format_value(colorvalue))
        data = self.controller.get_received_by_address(asset)
        return _print(dict(map(reformat, data)))
Returns total received amount for each coloraddress
dataset/ETHPy150Open chromaway/ngcccbase/ngcccbase/api.py/Ngccc.received