fn handle_query<N: Network>( query: LeoQuery, context: Context, network: &str, endpoint: &str, ) -> Result<<LeoQuery as Command>::Output>