Module: Minter::Api::BlockResource

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

Instance Method Summary collapse

Instance Method Details

#block(height:) ⇒ Object



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

def block(height:)
  params = { height: height }
  path = "/block"

  get(path, params)
end