Skip to main content

get_record_charge

Function get_record_charge 

Source
pub fn get_record_charge(index: u16) -> i16
Expand description

Get the charge 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 charge of the record.