Class: CronosChain::Blocks
- Inherits:
-
Object
- Object
- CronosChain::Blocks
- Defined in:
- lib/cronos_chain/blocks.rb
Constant Summary collapse
- DEFAULT_HASH =
{ module: 'block' }.freeze
Class Method Summary collapse
Class Method Details
.eth_block_number ⇒ Object
8 9 10 11 12 |
# File 'lib/cronos_chain/blocks.rb', line 8 def eth_block_number hash = DEFAULT_HASH.merge(action: 'eth_block_number') Request.get hash end |