Module: Nis::Endpoint::Node::ActivePeers

Included in:
Nis
Defined in:
lib/nis/endpoint/node/active_peers.rb

Instance Method Summary collapse

Instance Method Details

#node_active_peers_max_chain_heightNis::Struct::Node



5
6
7
8
9
# File 'lib/nis/endpoint/node/active_peers.rb', line 5

def node_active_peers_max_chain_height
  request!(:get, '/node/active-peers/max-chain-height') do |res|
    Nis::Struct::BlockHeight.build res
  end
end