public List < BlockHeader > getBlockHeaderSeq ( int from , int to ) throws IOException { String path = String . format ( "/blocks/headers/seq/%s/%s" , from , to ) ; HttpResponse r = exec ( request ( path ) ) ; return parse ( r , BLOCK_HEADER_LIST ) ; }
Returns seq of block headers