Module: Nis::Endpoint::Chain::Height

Included in:
Nis
Defined in:
lib/nis/endpoint/chain/height.rb

Instance Method Summary collapse

Instance Method Details

#chain_heightNis::Struct::BlockHeight



6
7
8
# File 'lib/nis/endpoint/chain/height.rb', line 6

def chain_height
  Nis::Struct::BlockHeight.build request!(:get, '/chain/height')
end