Function get_record_cost

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

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