requestWeight
Sets a function that returns a weight of a request. Weight is used to calculate how many tokens are consumed by a request. By default, weight is always 1.
Sets a function that returns a weight of a request. Weight is used to calculate how many tokens are consumed by a request. By default, weight is always 1.