Read Record from Link Location

  • Any party with the link Location can read the record

  • They can use any industry-standard tool such as ‘WhatsOnChain’

  • They can also just request information about the record

Example information code:

curl -X "HEAD" \
     -L "$URL/api/v1/linkedrecords/$LOC/content" \
     -H "x-api-key: $KEY" \
     -H "accept: */*"

Example information response:

content-length: 6
content-type: application/octet-stream
date: Tue,14 May 2024 14:15:41 GMT
server: nginx/1.18.0 (Ubuntu)

Example record code:

curl -X "GET" \
     -L "$URL/api/v1/linkedrecords/$LOC/content" \
     -H "x-api-key: $KEY" \
     -H "accept: */*"

Example record response:

hello

Last updated

Copyright © nChain Licensing AG 2024