pub fn weight(method: &str, params: &Map<String, Value>) -> u64
How much a request counts against the budget: reads that walk many objects or build proofs count more.