Skip to main content

get_record_weight

Function get_record_weight 

Source
pub fn get_record_weight(index: u16) -> f64
Expand description

Get the weight of the record at a certain index in the read worldstate’s
dynamic records of the current type.

index The index of the record.

Returns the weight of the record.