Class: CardanoWallet::Misc::Network

Inherits:
Base
  • Object
show all
Defined in:
lib/cardano_wallet/misc.rb

Overview

API for Network

Instance Attribute Summary

Attributes inherited from Base

#opt

Instance Method Summary collapse

Methods inherited from Base

#byron, #initialize, #misc, #shared, #shelley, #utils

Constructor Details

This class inherits a constructor from CardanoWallet::Base

Instance Method Details

#clockObject

Check network clock



89
90
91
# File 'lib/cardano_wallet/misc.rb', line 89

def clock
  self.class.get('/network/clock')
end

#informationObject

Get network information



83
84
85
# File 'lib/cardano_wallet/misc.rb', line 83

def information
  self.class.get('/network/information')
end

#parametersObject

Check network parameters



95
96
97
# File 'lib/cardano_wallet/misc.rb', line 95

def parameters
  self.class.get('/network/parameters')
end