pub fn encode_string_h160(h160: &H160) -> String
Expand description
Encodes an H160
hash into a string representation.
ยงExamples
use primitive_types::H160;
use neo3::neo_types::encode_string_h160;
let hash = H160::repeat_byte(0xab);
let encoded = encode_string_h160(&hash);
assert!(encoded.starts_with("0x"));