POST
/
validation
/
compare
curl --request POST \
  --url https://dev-api.rootkey.ai/api-v1/validation/compare \
  --header 'Content-Type: Multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "userId": "11ce9548-6548-4388-8efb-75716883239a",
  "file": {},
  "ownerWallet": "0xL2mn4B8id4PMU5DQZq4WZgjTDtuEKCGvn1389Kxz8b9Jqf9TaA56",
  "tokenId": null,
  "type": "rootkey",
  "subType": "sec1"
}'
{
  "validation": {
    "ownership": true,
    "integrity": true,
    "validity": true
  }
}

Authorizations

x-api-key
string
header
required

Body

Multipart/form-data
Smart-contract info and file
file
object
required
ownerWallet
string
required
Example:

"0xL2mn4B8id4PMU5DQZq4WZgjTDtuEKCGvn1389Kxz8b9Jqf9TaA56"

type
string
required
Example:

"rootkey"

subType
string
required
Example:

"sec1"

userId
string
Example:

"11ce9548-6548-4388-8efb-75716883239a"

tokenId
string

Id of your trustable file

Example:

null

Response

200
application/json
Result of the validation
validation
object