diff --git a/httpd/router.go b/httpd/router.go index 2440f99..a4b1c3b 100644 --- a/httpd/router.go +++ b/httpd/router.go @@ -26,6 +26,7 @@ func GetRouter(s *svc.Service) *gin.Engine { baseRouter.GET("explorer/_health", handlers.GetHealth(s)) baseRouter.GET("explorer/status", handlers.GetStatus(s)) baseRouter.GET("btc/network", handlers.GetNetwork(s)) + baseRouter.GET("btc/block/:block", handlers.GetBlock(s)) } currencyRouter := baseRouter.Group(s.Bus.Currency)