def get(self, id=None, fields=None): database = lib.get_db() LOGGER = lib.get_logger(PROCESS) LOGGER.warn("WorkerAPI_payments get id:{} fields:{}".format( id, fields)) fields = lib.fields_to_list(fields) utxo = Pool_utxo.get_by_address(id) return utxo.to_json(fields)
def get(self, id=None, fields=None): database = lib.get_db() fields = lib.fields_to_list(fields) utxo = Pool_utxo.get_by_address(id) return utxo.to_json(fields)