Anchor some data
POST
https://api.token-project.eu/notarization/stamp
Creates a timestamp for a given SHA-256 hash hexadecimal digest.
Request Body
{
"transactionId": "1b9e6cb48098bc1fd8d8bd44c53e92c394c06a41ed50ab5845ed3e8b36e9f012"
}
curl -L -X POST 'https://api.token-project.eu:443/notarization/stamp' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Authorization: Bearer $TOKEN' \
--data-urlencode 'hash=$HASH'
Get anchored data from a HASH
GET
https://api.token-project.eu/notarization/stamp/$STAMP
Retrieves all anchored data for a certain HASH
[
{
"docType": "stamp",
"hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed1",
"data": "------DATA-----"
}
]
curl -L -X GET 'https://api.token-project.eu:443/notarization/stamp/$STAMP' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Authorization: Bearer $TOKEN'
Get anchored data from a Hash [DEPRECATED]
GET
https://api.token-project.eu/notarization/blockinfos/stamp/keys/$HASH
Retrieves all receipts (also known as proofs) for a certain hash.
[DEPRECATED] Use get /stamp instead
[
{
"docType": "stamp",
"hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed1",
"data": "------DATA-----"
}
]
curl -L -X GET 'https://api.token-project.eu:443/notarization/blockinfos/stamp/keys/$HASH' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Authorization: Bearer $TOKEN'
All anchors
GET
https://api.token-project.eu/notarization/stamps
Retrieves all anchors made by the requesting client, ordered by date, from newest to oldest.
[
{
"docType": "stamp",
"hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed1",
"data": "------DATA-----"
},
{
"docType": "stamp",
"hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed16",
"data": "------DATA-----"
},
{
"docType": "stamp",
"hash": "oiam9yZ2U3NzMiLCJvcmdOYW1lIjoiT3JnMSIsImlhdCI6MTU0OTk5NzU3OX0",
"data": "------DATA-----"
}
...
]