Verify Signature OffChain

The "Verify Signature OffChain" capability in the KrypC wallet-dev Service API enables users to verify the authenticity of cryptographic signatures associated with transactions or messages off-chain. This feature enhances security by allowing users to confirm the validity of signatures without interacting directly with the blockchain, facilitating trust and integrity in decentralized systems.

This will allow to Verify Signature off chain.

API Specification

Verify Signature OffChain API

POST https://api.krypcore.com/api/v0/devWallet/verifySignatureOffChain

To verify signature offchain API under the given instance.

Headers

NameTypeDescription

DappId*

String

DappId

Authorization*

String

User Auth key obtained

Request Body

NameTypeDescription

privateKey*

String

Private Key

message*

String

Message

signature*

String

Signature

{
    "Data": {
        "isVerified": true
    },
    "Message": "",
    "Status": "SUCCESS"
}

Take a look at how you might call this method using our official libraries, or via curl


curl --location 'https://api.krypcore.com/api/v0/devWallet/verifySignatureOffChain' \
--header 'DappId: **********' \
--header 'Authorization: **********' \
--header 'subscriptionId: ********' \
--header 'Content-Type: application/json' \
--data '{
    "privateKey": "**********",
    "message": "Hello",
    "signature": "**********"
}'

Last updated