module Nis::Endpoint::Node::ActivePeers

Public Instance Methods

node_active_peers_max_chain_height() click to toggle source

@return [Nis::Struct::Node] @see nemproject.github.io/#maximum-chain-height-in-the-active-neighborhood

# 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