All URIs are relative to https://api.originstamp.com
| Method | HTTP request | Description |
|---|---|---|
| getProof | POST /v3/timestamp/proof/url | Proof |
DefaultOfDownloadLinkResponse getProof(authorization, proofRequestUrl)
Proof
Generates the download URL for Proof (Seed / Merkle Tree). This interface must be used to obtain the proof or certificate of your tamper-proof timestamp. The parameters are as follows: Cryptocurrency (e.g., Bitcoin, Ethereum,..), type of evidence (e.g., certificate, merkle tree) and the associated hash. The entries are analyzed, e.g., whether a valid timestamp exists for the hash. Then the URL and the filename are returned, with which your proof can be saved. Please note that the download link is only valid for 5 minutes. When using cURL to fetch the proof with the download link make sure to specify "application/octet-stream" in the "Accept" header.
// Import classes:
//import com.originstamp.api.client.ApiException;
//import com.originstamp.api.ProofApi;
ProofApi apiInstance = new ProofApi();
String authorization = "authorization_example"; // String | A valid API key is essential for authorization to handle the request.
ProofRequest proofRequestUrl = new ProofRequest(); // ProofRequest | Information needed to return the proof.
try {
DefaultOfDownloadLinkResponse result = apiInstance.getProof(authorization, proofRequestUrl);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProofApi#getProof");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| authorization | String | A valid API key is essential for authorization to handle the request. | |
| proofRequestUrl | ProofRequest | Information needed to return the proof. |
- Content-Type: application/json
- Accept: application/json