I'm trying to create a contract that verifies the signature in a contract function. I wasn't able to find anything in the examples or in the docs.

Is it possible to send a signature to an ink! contract and verify it in its methods?

  • What type of signature are you looking to verify?
    – cmichi
    Apr 4, 2022 at 6:38

1 Answer 1


At the moment contract-pallet allows you only to verify ECDSA signatures. In ink! you can use ink_env::ecdsa_recover to do that.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.