Read Record from Location API

  • Any party can read the record from the published Location via any industry-standard third-party tools such as ‘WhatsOnChain’

  • Programs using REST API can also just request information about the record

Example information code:

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

Example information response:

content-length: 7  content-type: application/octet-stream  date: Thu,11 Jan 2024 16:10:07 GMT  server: Kestrel 

Example record code:

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

Example record response

hello 

Last updated

Copyright © nChain Licensing AG 2024