Method: PunkBlocks#getBlocks

Defined in:
lib/ethlite/contracts/punk_blocks.rb

#getBlocks(_fromID, _count) ⇒ Object

function getBlocks

getBlocks returns a sequential list of blocks in a single call
    @param _fromID is which id to begin from
    @param _count how many items to retrieve.
    @return Block[] list of blocks, uint256 next id


105
106
107
# File 'lib/ethlite/contracts/punk_blocks.rb', line 105

def getBlocks(_fromID, _count)
  do_call("getBlocks", _fromID, _count)
end