Module: QuorumSdk::Chain::Node

Included in:
QuorumSdk::Chain
Defined in:
lib/quorum_sdk/chain/node.rb

Overview

Wrapper for HTTP APIs for chain

Instance Method Summary collapse

Instance Method Details

#networkObject



7
8
9
10
# File 'lib/quorum_sdk/chain/node.rb', line 7

def network
  path = 'api/v1/network'
  client.get(path).body
end

#nodeObject



12
13
14
15
# File 'lib/quorum_sdk/chain/node.rb', line 12

def node
  path = 'api/v1/node'
  client.get(path).body
end