use axum::routing::get;
use axum::Router;
mod block;
mod height;
pub fn router() -> Router {
Router::new()
.route("/height", get(height::handle))
.route("/block/:height", get(block::handle))
}
use axum::routing::get;
use axum::Router;
mod block;
mod height;
pub fn router() -> Router {
Router::new()
.route("/height", get(height::handle))
.route("/block/:height", get(block::handle))
}