alloy_serde

Function serialize_b256_hex_string_no_prefix

Source
pub fn serialize_b256_hex_string_no_prefix<S>(
    x: &B256,
    s: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

Serialize a B256 as a hex string without the “0x” prefix.