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