Get Location Status API

Optionally check whether the record is on the blockchain at the location:

  1. The record owner waits 10 minutes for it 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 appending the record (go back to Step 1 above).

  4. The record owner optionally sends or publishes the Location to any other parties

Example code:

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

Example immediate response:

{
  "confirmation": null
}

Example response after waiting for an hour:

{
  "confirmation": {
    "confirmedBlocks": 6,
    "blockHash": "0e551049775fd9a3fc6516....5819eb375e4664b72adf17f41d",
    "blockTimestamp": "2024-01-11T14:03:04Z",
    "merkleProof": {
      "index": 1,
      "txOrId": "7d2aef40841f0109....c31c83a5505a4c147e",
      ....
    }
  }
}

Last updated

Copyright © nChain Licensing AG 2024