Module: Minter::Api::ValidatorsResource

Included in:
Client
Defined in:
lib/minter/api/resources/validators_resource.rb

Instance Method Summary collapse

Instance Method Details

#validators(height: 1) ⇒ Object



6
7
8
9
10
# File 'lib/minter/api/resources/validators_resource.rb', line 6

def validators(height: 1)
  params = { height: height }
  path = "/validators"
  get(path, params)
end