pub trait QueryCreator<Method: RpcMethod>{
type RpcReference;
// Required methods
fn create_query(
&self,
network: &NetworkConfig,
reference: Self::RpcReference,
) -> Result<Method, QueryError<Method>>;
fn is_critical_error(&self, error: &JsonRpcError<Method::Error>) -> bool;
}