Skip to main content
POST
/
evidences
/
{COMPANY_ID}
/
blockinfo
Get evidences blockchain statistics
curl --request POST \
  --url https://api.timelockdata.com/api/v1/evidences/{COMPANY_ID}/blockinfo \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "dts": [
    "<string>"
  ],
  "updates": [
    {
      "dtId": "<string>",
      "version": 123
    }
  ]
}
'
{
  "dts": [
    {
      "id": "<string>",
      "externalId": "<string>",
      "name": "<string>",
      "creationDate": "2023-11-07T05:31:56Z",
      "owner": {},
      "historyChanges": {},
      "categoryId": "<string>",
      "subcategoryId": "<string>",
      "txId": "<string>",
      "summary": "<string>",
      "lastUpdateDate": "2023-11-07T05:31:56Z",
      "lastUpdateTxId": "<string>",
      "iconId": {},
      "stolen": true,
      "blockNumber": 123,
      "lastUpdateBlockNumber": 123
    }
  ],
  "count": 123
}
Get blockchain statistics and confirmation status for a list of evidences. Useful for checking which evidence records have been confirmed on the blockchain.

Authorizations

X-API-Key
string
header
required

Path Parameters

COMPANY_ID
string
required

Company identifier

Body

application/json
dts
string[]

List of evidence identifiers

updates
object[]

List of evidence events to check for updates

Response

200 - application/json

Evidences statistics

dts
object[]
required

List of evidences

count
number
required

Total number of evidences