Получение проверок жизненных циклов ресурса

Проверки ресурса хранятся в хронологии состояний ресурса. Текущие проверки ресурса можно получить с помощью метода RAMAsset.getCurrentStateHistory().

//Get the current state history
  RAMStateHistory stateHistory = newAsset.getCurrentStateHistory();
//Get the comments from the state history
  RAMVote[] votes = stateHistory.getVotes()

Комментарии