Skip to content Skip to footer

Get the results of a hash insert

In the last step we inserted a hash, and got back a Location URL, and a task ID. This URL or task ID is used to get the results of your hash being added permanently into the blockchain.

Hash Insert Results Method/Url

This is the URL that was received in the “Location” header returned on the insert.


Hash Insert Results Response

    "LTaskId": "2ae51b59-698e-4112-affc-1b0bab5ff1e5",
    "ReponseCode": 200,
    "Content": ["hash::txid"]

If the hash has been added into the chain, your response will contain the task ID, a response code, and your hash and the Lynx Transaction ID in the “Content” field seperated by “::”.

A 404 – Not Found HTTP response code is returned until the record is available. If you get a 404, the network may be busy, just wait, and retry the request.

This TXID is the public transaction ID where your hash was permanently stored, and will be available to view on public block chain explorers as soon as they have it indexed.

Related Articles

There are no comments yet

Leave a comment

Your email address will not be published.