Sign TxHash

The "Sign TxHash" feature in the KrypC wallet-dev Service API enables users to securely sign transaction hashes, providing a cryptographic signature for specific transaction data on the blockchain. This capability enhances security and authenticity verification, ensuring a reliable method for confirming the integrity and authorization of transactions within decentralized systems.

This Submit Transaction using this method.

API Specification

Sign TxHash API

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

To sign TxHah API under the given instance.

Headers

NameTypeDescription

DappId*

String

DappId

Authorization*

String

User Auth key obtained

ChainId

String

ChainId

SubscriptionId

String

SubscriptionId

Request Body

NameTypeDescription

privateKey*

String

Private Key

txnHash*

String

TxnHash

{
    "Data": "wEYz8E2zxuDMos+c1E8ZFQzq49uFZK/R+3LSZLAMPrQXNPaxzlRjE4rkMTPRCz64vmkb9hUeTtVvhgDG61qc9wE=",
    "Message": "Signed txn hash successfully",
    "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/signTxHash' \
--header 'DappId: **********' \
--header 'Authorization: **********' \
--header 'SubscriptionId: ********' \
--header 'ChainId: ********' \
--header 'Content-Type: application/json' \
--data '{
   "privateKey": "**********",
    "txnHash":"**********"
}'

Last updated