callWeight

fun callWeight(callWeight: CallWeight)(source)

Sets the weight of a call for rate limiting purposes. The weight is used to determine how many permits a call consumes.