Module: Harmony::Api::V1::Logs::Log

Defined in:
lib/harmony/api/v1/logs/log.rb

Instance Method Summary collapse

Instance Method Details

#get_logs(block_hash) ⇒ Object



8
9
10
11
# File 'lib/harmony/api/v1/logs/log.rb', line 8

def get_logs(block_hash)
  params = [{"BlockHash" => block_hash}]
  response(post('getLogs', params: params))
end