sdk_pubkey_to_bytes Documentation for eth_defi.lighter.api.sdk_pubkey_to_bytes function. sdk_pubkey_to_bytes(public_key) Convert a Lighter SDK public-key string to on-chain bytes. Parameters public_key (str) – SDK public-key string, 0x plus 40 bytes. Returns Raw public-key bytes for changePubKey. Return type bytes