Closed Benjtalkshow closed 1 day ago
closes #19
/blocks
/blocks?p=2
/blocks?p=3
viem getBlockNumber
getServerSideProps
searchParams
Please review the changes and provide feedback. Thank you .
closes #32 @saimeunt , I have made the requested changes to handle the edge case for fetching blocks on the last page. Please review the latest commit. Thank you!
closes #19
Implemented paginated list of latest blocks with detailed information
Features Implemented
Pagination Details
/blocks
displays blocks 100 to 76./blocks?p=2
displays blocks 75 to 51./blocks?p=3
displays blocks 50 to 26.viem getBlockNumber
if not provided as a query parameter.Implementation Details
getServerSideProps
.searchParams
parameterScreenshot Desktop
Screenshot Mobile
Please review the changes and provide feedback. Thank you .