signature

Verifies the reveal data signature is valid. (read access required)

Changed on

Verifies the reveal data signature is valid.

post/signature/verify/reveal-data

Request

  • Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
  • URL: ./../api/v1/signature/verify/reveal-data
  • Auth: API key in header token

Request body

signaturestring required

Cryptographic signature from the admin wallet

keystring required

Public key used to create the signature

walletAddressstring required

Cardano address of the admin wallet signing the request

validUntilnumber required

Unix timestamp (in milliseconds) until which this signature is valid

blockchainIdentifierstring required

The blockchain identifier, for which the data should be revealed

action'RevealData' required

The action to perform

Example request

{
  "action": "RevealData",
  "blockchainIdentifier": "blockchain_identifier",
  "signature": "signature",
  "key": "key",
  "walletAddress": "wallet_address",
  "validUntil": 1713636260
}

Response

Revealed data

status'success' required

Example response

{
  "status": "success",
  "data": {
    "isValid": true
  }
}

Changes

    • breaking

      the request property's minLength was increased from 0 to 58

    • breaking

      added the pattern ^(addr1|addr_test1)[0-9a-z]+$ to the request property

    • info

      the request property's minLength was decreased from 58 to 0

    • info

      removed the pattern ^(addr1|addr_test1)[0-9a-z]+$ from the request property