Function reth::rpc::types::serialize_hex_string_no_prefix

pub fn serialize_hex_string_no_prefix<S, T>(
    x: T,
    s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer, T: AsRef<[u8]>,
Expand description

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

This behaves the same as hex::encode.