Module utils

Source

Functionsยง

is_critical_blocks_error
is_critical_json_rpc_error ๐Ÿ”’
is_critical_query_error
is_critical_transaction_error
is_critical_validator_error
near_data_to_near_token
Converts crate::Data<u128>] to crate::NearToken.
parse_decimal_number
Parsing decimal numbers from &str type in u128. Function also takes a value of metric prefix in u128 type. parse_str use the u128 type, and have the same max and min values.