@extends('layout.default') @section('title','Home') @section('script') @endsection @section('content')
LBRY Block Explorer

{{----}}
Block Height
{{ $recentBlocks[0]->height }}
Difficulty
{{ number_format($recentBlocks[0]->difficulty, 2, '.', '') }}
Network
{{ $hashRate }}
Price
{{ $lbcUsdPrice }}

Recent Blocks

LBRY Blocks @foreach($recentBlocks as $block) @endforeach
Height Age Block Size Transactions Difficulty Timestamp
{{ $block->height }} {{ \Carbon\Carbon::createFromTimestamp($block->block_time)->diffForHumans() }} {{ round($block->block_size / 1024, 2) . 'KB' }} {{ $block->tx_count }} {{ number_format($block->difficulty, 2, '.', '') }} {{ DateTime::createFromFormat('U', $block->block_time)->format('d M Y H:i:s') . ' UTC' }}

Recent Claims

Claims Explorer @php($idx = 0) @php($a = ['purple', 'orange', 'blue', 'teal', 'green', 'yellow']) @foreach($recentClaims as $claim) @php($idx++) @php($autoThumbText = $claim->getAutoThumbText()) {{--content type--}} @php($ctTag = $claim->getContentTag())
@if($ctTag)
{{ strtoupper($ctTag) }}
@endif @if($claim->is_nsfw)
NSFW
@endif
@if(!$claim->is_nsfw && strlen(trim($claim->thumbnail_url)) > 0) @else
{{ $autoThumbText }}
@endif
Transaction
@endforeach
@endsection