Skip to main content

decode_multikey

Function decode_multikey 

Source
pub fn decode_multikey(multibase: &str) -> Result<PublicKey, Error>
Expand description

Decode whichever key type a Multikey carries.

ยงErrors

Returns an error if the value is not a base58btc multibase string wrapping a key type this module can verify with.