Get Link Location Status §
Last updated
Last updated
curl $URL/api/v1/linkedrecords/$LOC/status \
-H "x-api-key: $KEY" \
-H "accept: text/plain"const response = await fetch('${url}/api/v1/linkedrecords/${loc}/status', {
headers: {
'x-api-key': '${key}',
'accept': 'text/plain'
}
});{
"updatable": true,
"confirmation": null
}{
"updatable": true,
"confirmation": {
"confirmedBlocks": 3,
"blockHash": "038ada8fba49a4972....3fb049b45553612c187cc",
"blockTimestamp": "2024-01-02T13:20:05Z",
"merkleProof": {
"index": 2,
"txOrId": "47175b2ee3345942....d58cd286198e1bcf97",
"target": "00000020e1b721d55e....9c4ba58cf65ffff7f2000000000",
"nodes": [
"*",
"d6e26a5e5ecbfa38923b....dcfc4bc99b29b4acda214c38"
],
"targetType": "header",
"proofType": null,
"composite": null
}
}
}