ic_cdk::api::management_canister::ecdsa

Function sign_with_ecdsa

Source
pub async fn sign_with_ecdsa(
    arg: SignWithEcdsaArgument,
) -> CallResult<(SignWithEcdsaResponse,)>
Expand description

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

See IC method sign_with_ecdsa.

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