Get asset comments

Asset comments are stored within an asset's state history. You can use RAMAsset.getCurrentStateHistory() to get to the asset's current comments.

//Get the current state history
  RAMStateHistory stateHistory = newAsset.getCurrentStateHistory();

//Get the comments from the state history
  RAMComment[] comments = stateHistory.getComments();

Feedback