Open sevenzing opened 1 month ago
need to show info from stats
stats
on homepage:
on /transactions page
on /verified-contracts page
for now this UI takes this information from elixir backend.
main page:
Average block time
transactions page:
verified contracts page:
important: stats should calculate counters even if blockscout dint finish indexing yet
note: added daily txns chart (pic). we figured out how to add it while letting it update immediately (w/o waiting for indexing)
need to show info from
stats
on homepage:
on /transactions page
on /verified-contracts page
for now this UI takes this information from elixir backend.
main page:
Average block time
counter. for now it calculates average amount across all blocks. blockscout implements custom logic here: https://github.com/blockscout/blockscout/blob/e16236243195deb06d6d4b9e0bb67c534b2f04ad/apps/explorer/lib/explorer/counters/average_block_time.ex#L75-L81 need to write the same thing. (#1117)transactions page:
verified contracts page:
important:
stats
should calculate counters even if blockscout dint finish indexing yet