ic_cdk::api::management_canister::schnorr

Function sign_with_schnorr

Source
pub async fn sign_with_schnorr(
    arg: SignWithSchnorrArgument,
) -> CallResult<(SignWithSchnorrResponse,)>
Expand description

Return a new Schnorr signature of the given message that can be separately verified against a derived Schnorr public key.

See IC method sign_with_schnorr.

This call requires cycles payment. This method handles the cycles cost under the hood. Check Threshold signatures for more details.