Module: Minter::Api::MissedBlocksResource

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

Instance Method Summary collapse

Instance Method Details

#missed_blocks(publicKey:, height: 1) ⇒ Object



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

def missed_blocks(publicKey:, height: 1)
  params = { publicKey: publicKey, height: height }.compact
  path = "/missed_blocks"
  get(path, params)
end