Function ic_web3_rs::ic::get_public_key

source ·
pub async fn get_public_key(
    canister_id: Option<Principal>,
    derivation_path: Vec<Vec<u8>>,
    key_name: String
) -> Result<Vec<u8>, String>
Expand description

get public key from ic, derivation_path: 4-byte big-endian encoding of an unsigned integer less than 2^31