Class: CronosExplorer::Contracts

Inherits:
Object
  • Object
show all
Defined in:
lib/cronos_explorer/contracts.rb

Constant Summary collapse

DEFAULT_HASH =
{ module: 'contract' }.freeze

Class Method Summary collapse

Class Method Details

.listcontractsObject



8
9
10
11
12
# File 'lib/cronos_explorer/contracts.rb', line 8

def listcontracts
  hash = DEFAULT_HASH.merge(action: 'listcontracts')

  Request.get hash
end