class Nem::Model::AccountHistorical

Attributes

address[R]
balance[R]
height[R]
importance[R]
page_rank[R]
unvested_balance[R]
vested_balance[R]

Public Class Methods

new_from_account_historical(hash) click to toggle source
# File lib/nem/model/account_historical.rb, line 14
def self.new_from_account_historical(hash)
  new(
    page_rank: hash[:pageRank],
    address: hash[:address],
    balance: hash[:balance],
    importance: hash[:importance],
    vested_balance: hash[:vestedBalance],
    unvested_balance: hash[:unvestedBalance],
    height: hash[:height]
  )
end