Class: IOSTSdk::Models::ChainInfo

Inherits:
Object
  • Object
show all
Includes:
IOSTSdk::Models
Defined in:
lib/iost_sdk/models/chain_info.rb

Constant Summary

Constants included from IOSTSdk::Models

MODEL_REGISTRY

Class Method Summary collapse

Methods included from IOSTSdk::Models

included, #parse, #raw_data

Class Method Details

.attr_namesObject



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/iost_sdk/models/chain_info.rb', line 10

def self.attr_names
  [
    'net_name',
    'protocol_version',
    'chain_id',
    'head_block',
    'head_block_hash',
    'lib_block',
    'lib_block_hash',
    'witness_list',
    'lib_witness_list',
    'pending_witness_list',
    'head_block_time',
    'lib_block_time'
  ]
end