Skip to main content

decode_key_authorization

Function decode_key_authorization 

Source
pub fn decode_key_authorization<T: Decodable>(hex_str: &str) -> Result<T>
Expand description

Decodes a hex-encoded, RLP-encoded key authorization.

The input should be a hex string (with or without 0x prefix) containing RLP-encoded SignedKeyAuthorization data.