code: def GetTransactionResults(self):
          
          if self.References is None:
              return None
  
          results = []
          realresults = []
          for ref_output in self.References.values():
              results.append(TransactionResult(ref_output.AssetId, ref_output.Value))
  
          for output in self.outputs:
              results.append(TransactionResult(output.AssetId, output.Value * Fixed8(-1)))
  
          for key, group in groupby(results, lambda x: x.AssetId):
              sum = Fixed8(0)
              for item in group:
                  sum = sum + item.Amount
  
              if sum != Fixed8.Zero():
                  realresults.append(TransactionResult(key, sum))
  
          return realresults
docs: Get the execution results of the transaction.
  
          Returns:
              None: if the transaction has no references.
              list: of TransactionResult objects.