Class: IOSTSdk::Models::Block

Inherits:
Object
  • Object
show all
Includes:
IOSTSdk::Models
Defined in:
lib/iost_sdk/models/block.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



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

def self.attr_names
  [
    'hash',
    'version',
    'parent_hash',
    'tx_merkle_hash',
    'tx_receipt_merkle_hash',
    'number',
    'witness',
    'time',
    'gas_usage',
    'tx_count',
    'info',
    'transactions'
  ]
end