Get Location Status

Depending on the use case, check whether the record is on the blockchain at the location:

  1. The record owner waits at least 10 minutes for the write operation to be confirmed on the blockchain

  2. The record owner checks the status of the location

  3. If not confirmed, the record owner either waits again or retries writing the record

  4. The record owner optionally stores the evidence of the write operation

  5. The record owner optionally sends or publishes the location to any other parties

Example code:

curl $URL/api/v1/records/$LOC/status \
     -H "x-api-key: $KEY" \
     -H "accept: text/plain"

Example immediate cURL response:

{
  "confirmation": null
}

Example cURL response after waiting for an hour:

{
  "confirmation": {
    "confirmedBlocks": 6,
    "blockHash": "0e551049775fd9a3fc6516....5819eb375e4664b72adf17f41d",
    "blockTimestamp": "2024-01-02T13:14:17Z",
    "merkleProof": {
      "index": 1,
      "txOrId": "7d2aef40841f0109....c31c83a5505a4c147e",
      ....
    }
  }
}

The Merkle proof is described in the blockchain section.