LinkedRecords
Create, read, update, delete and verify publicly linked records on the blockchain.
If this feature is not available in your configuration, please contact us for an upgrade.
Create a linked record transaction.
The transaction will be published to the blockchain asynchronously. Use Get linked record status to find out when it has been confirmed.
Encode the record before registering on the blockchain. Available encoders depend upon your configuration options. Possible encoders include:
- SHA256: Encode using SHA-2 256 *
- Base64: Makes output human-readable
- No specified encoder: the record is not encoded.
Note * A "salt" parameter may be specified in () brackets containing any of the following characters: ASCII letters and digits, "/", ":", "-" and "+" (URL encoded as "%2B"). The "salt" parameter will be prepended to the record before encoding.
Encoders may be combined using '|'.
{your-API-key}
POST /api/v1/linkedrecords?encode=text HTTP/1.1
Host: {your-URL}
x-api-key: text
Content-Type: application/octet-stream
Accept: */*
Content-Length: 10
"Ynl0ZXM="
{
"txId": "text",
"updateToken": "text",
"encoding": [
{
"contentType": "text",
"output": "text"
}
]
}
Update the supplied linked record by linking it to a new linked record transaction.
The transaction will be published to the blockchain asynchronously. Use Get linked record status to find out when it has been confirmed.
The transaction id of the linked record to update.
Encode the record before registering on the blockchain. Available encoders depend upon your configuration options. Possible encoders include:
- SHA256: Encode using SHA-2 256 *
- Base64: Makes output human-readable
- No specified encoder: the record is not encoded.
Note * A "salt" parameter may be specified in () brackets containing any of the following characters: ASCII letters and digits, "/", ":", "-" and "+" (URL encoded as "%2B"). The "salt" parameter will be prepended to the record before encoding.
Encoders may be combined using '|'.
Optional, if specified it must be the updateToken returned from the creation of the supplied linked record.
{your-API-key}
POST /api/v1/linkedrecords/{txId}/update?encode=text HTTP/1.1
Host: {your-URL}
x-api-key: text
Content-Type: application/octet-stream
Accept: */*
Content-Length: 10
"Ynl0ZXM="
{
"txId": "text",
"updateToken": "text",
"encoding": [
{
"contentType": "text",
"output": "text"
}
]
}
Delete/Terminate/Finalise the supplied linked record by linking it to a new empty transaction.
The transaction will be published to the blockchain asynchronously. Use Get linked record status to find out when it has been confirmed.
The transaction id of the linked record to delete
Optional, if specified it must be the updateToken returned from the creation of the supplied linked record.
{your-API-key}
POST /api/v1/linkedrecords/{txId}/delete HTTP/1.1
Host: {your-URL}
x-api-key: text
Accept: */*
{
"txId": "text"
}
Get the current state of a linked record that was written to the blockchain. It takes a few minutes before any transaction is confirmed to be on the blockchain.
The transaction id of the linked record to query. Using a value other than one returned by the LinkedRecords methods produces undefined behavior.
{your-API-key}
GET /api/v1/linkedrecords/{txId}/status HTTP/1.1
Host: {your-URL}
x-api-key: text
Accept: */*
{
"confirmation": {
"confirmedBlocks": 1,
"blockHash": "text",
"blockTimestamp": "2025-07-18T17:38:33.219Z",
"merkleProof": {
"index": 1,
"txOrId": "text",
"target": "text",
"nodes": [
"text"
],
"targetType": "text",
"proofType": "text",
"composite": true
}
},
"updatable": true
}
Get the linked record. It may not be confirmed on the blockchain yet.
Get linked record status determines when the transaction is confirmed on the blockchain.
The transaction Id of the linked record to fetch. Using a value other than a transaction Id returned by the LinkedRecords methods produces undefined behavior.
{your-API-key}
GET /api/v1/linkedrecords/{txId}/content HTTP/1.1
Host: {your-URL}
x-api-key: text
Accept: */*
No content
Obtain information about the linked record (i.e. length and type) in the HTTP headers.
The transaction Id of the linked record to fetch. Using a value other than a transaction Id returned by the LinkedRecords methods produces undefined behavior.
{your-API-key}
HEAD /api/v1/linkedrecords/{txId}/content HTTP/1.1
Host: {your-URL}
x-api-key: text
Accept: */*
No content
Verify whether the supplied link record matches the published link record. The response indicates whether the records match, mismatch or there is an error.
If this feature is not available in your configuration, please contact us for an upgrade.
The transaction id of the record to query. Using a value other than a id returned by the LinkedRecords methods has undefined behavior.
The same encode parameters as used to create or update the record. In the case of encoders used without a "salt" parameter, this can be omitted.
The Id of previous linked record which the record referred to by txId updates or deletes. This parameter must be omitted when verifying create record.
{your-API-key}
POST /api/v1/linkedrecords/{txId}/match?encode=text HTTP/1.1
Host: {your-URL}
x-api-key: text
Content-Type: application/octet-stream
Accept: */*
Content-Length: 10
"Ynl0ZXM="
{
"match": true,
"confirmation": {
"confirmedBlocks": 1,
"blockHash": "text",
"blockTimestamp": "2025-07-18T17:38:33.219Z",
"merkleProof": {
"index": 1,
"txOrId": "text",
"target": "text",
"nodes": [
"text"
],
"targetType": "text",
"proofType": "text",
"composite": true
}
}
}
Get a list of linked record transaction ids, which can be used in the GET and VERIFY commands.
If this feature is not available in your configuration, please contact us for an upgrade.
The transaction id to navigate from. Using a value other than one returned by the LinkedRecords methods produces undefined behavior.
The direction and maximum number of links to emit. Positive numbers produce later links, negative number produce earlier links.
{your-API-key}
GET /api/v1/linkedrecords/{txId}/navigate?links=1 HTTP/1.1
Host: {your-URL}
x-api-key: text
Accept: */*
{
"txIds": [
"text"
],
"endOfLinks": true,
"maxLinksRequestable": 1
}