Function subxt_metadata::get_constant_hash
source · pub fn get_constant_hash(
metadata: &RuntimeMetadataV14,
pallet_name: &str,
constant_name: &str
) -> Result<[u8; 32], NotFound>
Expand description
Obtain the hash for a specific constant, or an error if it’s not found.