Skip to main content

encode_withdraw_destination

Function encode_withdraw_destination 

Source
pub fn encode_withdraw_destination(
    address: &str,
    is_case_sensitive: bool,
) -> Vec<u8> 
Expand description

UTF-8 bytes of the normalized address (lowercase when not case-sensitive).

Matches TS encodeWithdrawDestination / evmUtf8ToHex (hex of UTF-8), not a 20-byte pubkey decode.