Status of Entries

Entries on the chain can have different statuses.

  • HC.Status.Default Default value. Equivalent to HC.Status.Live.

  • HC.Status.Live Get the entry if it has been successfully committed, and not deleted. If the hash specified was modified, the chain will be followed so that the current live entry will instead be returned.

  • HC.Status.Deleted Get the entry only if it has been deleted.

  • HC.Status.Modified Return the actual entry for this hash, even if it has since been modified.

  • HC.Status.Rejected Return an entry only if it was rejected due to validation failure.

Go back to the API documentation.