({
bestBlock: 0,
finalizedBlock: 0,
@@ -381,6 +411,37 @@ const Explorer: React.FC = () => {
+ {/* View Navigation */}
+
+
+
+
+
+
{/* Search Bar */}
@@ -423,8 +484,102 @@ const Explorer: React.FC = () => {
- {/* Stats Grid */}
- {isLoading ? (
+ {/* View-specific content */}
+ {currentView === 'accounts' && (
+
+
+
+
+ Accounts
+
+
+
+
+ Search for an account address to view details, balances, and transaction history.
+
+
+
+
Use the search bar above to find an account by address
+
+
+
+ )}
+
+ {currentView === 'assets' && (
+
+
+
+
+ Assets
+
+
+
+
+
+
+ HEZ
+ Native
+
+
Native token of PezkuwiChain
+
+
+
+ PEZ
+ Asset ID: 1
+
+
Pezkuwi governance token
+
+
+
+ wHEZ
+ Asset ID: 0
+
+
Wrapped HEZ token
+
+
+
+ wUSDT
+ Asset ID: 2
+
+
Wrapped USDT stablecoin (6 decimals)
+
+
+
+
+ )}
+
+ {currentView === 'account' && viewParam && (
+
+
+
+
+ Account Details
+
+
+
+
+
Address
+
+ {viewParam}
+
+
+
+
+ Account balance and transaction history loading...
+
+
+
+ )}
+
+ {/* Stats Grid - Only show for overview */}
+ {currentView === 'overview' && (
+ <>
+ {isLoading ? (
{[...Array(8)].map((_, i) => (
@@ -712,6 +867,8 @@ const Explorer: React.FC = () => {
+ >
+ )}