Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blockscout/lib/explorer_web/controllers/chain_controller.ex

10 lines
216 B

defmodule ExplorerWeb.ChainController do
use ExplorerWeb, :controller
alias Explorer.Servers.ChainStatistics
def show(conn, _params) do
render(conn, "show.html", chain: ChainStatistics.fetch())
end
end