Create a new anchor.

Use this operation to create a new anchor of one of these two types:

  • a data anchor (to generate a proof of timestamp allowing to prove the existence of a data at some point in time)
  • a signature anchor (to generate a proof of seal allowing to prove the existence of the signature of a data at some point in time, the validity of the signature and the identity of the signer)

The properties id, created, lastModified, status, timestamp and confirmations are read-only and so must not be provided: they are managed by the platform and added to the returned anchor.

For data anchors, only the properties name and hash are required: the hash property must be the SHA256 hash of the data to anchor, and must be computed caller side. This allows not to leak the original data.

For signature anchors, only the properties name, signedHash, signature and pubKey are required.

Be sure to have at least 1 timestamp credit (for a data anchor) or 1 seal credit (for a signature anchor).

Language
Credentials
:
Click Try It! to start a request and see the response here!