Skip to main content

POST /signature/verify

Verify a digital signature using the public key and original data.

{{baseUrl}}/signature/verify

Headers

HeaderTypeDescription
x-api-keystringThe API key required for authentication.

Request Body

ParameterTypeDescription
publicKeystringThe public key used to verify the signature.
datastringThe original data that was signed.
signaturestringThe digital signature to verify.

Sample Request Body:

{
"publicKey": "047f422ec4c08c97af19867779b6189559c01a5430f579acee1ac6063f3ee6cc541d4719b555148aaac9f7137865be76a3bf4dc16acb11d2c336da79d9bf88975f",
"data": "Hello, world!",
"signature": "304502201a98bbf689941771477cf111d8ed436f1cd66ec52ff84178a1c5e21b27acb8d20221008718ef15bd46d34f60f224d9bfa69edd88abf9ee68b097b02dc8a837086dee51"
}

Click Send and wait for the response.

Response (Success - 200)

ParameterTypeDescription
isValidbooleanIndicates if the signature is valid (true) or not (false).

Sample Response Body:

{
"isValid": true
}

Response (Server Error - 500)

ParameterTypeDescription
errorstringDescribes the error that occurred.

Sample Response Body:

{
"error": "Server error"
}