Function avalanche_types::key::secp256k1::address::avax_address_to_short_bytes
source · pub fn avax_address_to_short_bytes(
chain_alias: &str,
addr: &str
) -> Result<(String, Vec<u8>)>
Expand description
Converts “bech32::encode“d AVAX address to the short address bytes (20-byte) and HRP for network name.