All URIs are relative to https://api.originstamp.com
| Method | HTTP request | Description |
|---|---|---|
| GetProof | POST /v3/timestamp/proof/url | Proof |
DefaultOfDownloadLinkResponse GetProof (string authorization, ProofRequest 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.
using System;
using System.Diagnostics;
using OriginStamp.Client.Api;
using OriginStamp.Client.Client;
using OriginStamp.Client.Model;
namespace Example
{
public class GetProofExample
{
public void main()
{
var apiInstance = new ProofApi();
var authorization = authorization_example; // string | A valid API key is essential for authorization to handle the request.
var proofRequestUrl = new ProofRequest(); // ProofRequest | Information needed to return the proof.
try
{
// Proof
DefaultOfDownloadLinkResponse result = apiInstance.GetProof(authorization, proofRequestUrl);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ProofApi.GetProof: " + e.Message );
}
}
}
}| 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. |
[API Key Authorization](../README.md#API Key Authorization)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]