Proofs

Create a Proofs

POST https://api.uproofs.apio.cc/proofs

Headers

Name
Type
Description

Authorization

string

apikey YOUR_APIKEY

Request Body

Name
Type
Description

data

string

Data to timestamp

assetId

string

UUID of REGISTERED ASSET

{
    "status": true,
    "data": {
        "assetId": "UUID",
        "data": {
            "temperature": "20",
            "humidity": "40",
            "energy": "100"
        },
        "dataHash": {
            "_id": "60ef2315f057add9d59c4e13",
            "input": "{\"temperature\":\"20\",\"humidity\":\"40\",\"energy\":\"100\"}",
            "hash": "de7a57c35e1067d6ea4b3eeb387676f1bc280f8a0662c29861a93f93b0974ed1",
            "hashAlgorithm": "SHA-256"
        },
        "uuid": "84049640-e08a-4310-bbe4-bd4e95c2b3e0",
        "publicUrl": "https://uproofs.apio.cc/proofs/timestamp/84049640-e08a-4310-bbe4-bd4e95c2b3e0",
        "blockchain": {
            "_id": "60ef2315f057ad0dd79c4e14",
            "xDai": {
                "_id": "60ef2315f057ad6c769c4e15",
                "explorer": "https://blockscout.com/xdai/mainnet/tx/",
                "publicKey": "0xc967b0a6a84c7f15527484401d5e361c36016e14",
                "transactionInformation": {
                    "transactionHash": "",
                    "status": "queued"
                }
            }
        },
        "createdAt": "2021-07-14T17:47:01.855Z",
        "updatedAt": "2021-07-14T17:47:01.855Z"
    }
}

GET a PROOFS

GET https://api.uproofs.apio.cc/proofs/:id

Headers

Name
Type
Description

password

string

used if data are encrypted

Authorization

string

apikey YOUR_APIKEY

Last updated

Was this helpful?