예제 #1
0
 public function findLatestBlockHeight()
 {
     $block = Block::orderBy('height', 'desc')->limit(1)->first();
     if (!$block) {
         return null;
     }
     return $block['height'];
 }