class Blockchain::LatestBlock
Attributes
block_index[R]
hash[R]
height[R]
time[R]
tx_indexes[R]
Public Class Methods
new(b)
click to toggle source
# File lib/blockchain/blockexplorer.rb, line 190 def initialize(b) @hash = b['hash'] @time = b['time'] @block_index = b['block_index'] @height = b['height'] @tx_indexes = b['txIndexes'] end