UNPKG

originstamp-client-fetch

Version:
40 lines (39 loc) 1.77 kB
/** * OriginStamp Timestamping * OriginStamp Timestamping leverages decentralized blockchain technology to create anonymous, tamper-proof timestamps for digital content. This service enables users to timestamp files, emails, or plain text, and store the resulting hashes on the blockchain. Users can also retrieve and verify timestamps that have been committed. The trusted timestamping mechanism ensures that a hash fingerprint can be generated and used as proof that specific data existed at a given point in time. * * The version of the OpenAPI document: 1.0.0 * Contact: support@originstamp.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Request object for proof request. * @export * @interface ProofRequest */ export interface ProofRequest { /** * 0: Bitcoin * 1: Ethereum * @type {number} * @memberof ProofRequest */ currencyId: number; /** * Hash in HEX representation for which the proof should be created. We allow the use of SHA-256. Note: We handle the hashes in lower-case. * @type {string} * @memberof ProofRequest */ sha256: string; } /** * Check if a given object implements the ProofRequest interface. */ export declare function instanceOfProofRequest(value: object): value is ProofRequest; export declare function ProofRequestFromJSON(json: any): ProofRequest; export declare function ProofRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProofRequest; export declare function ProofRequestToJSON(json: any): ProofRequest; export declare function ProofRequestToJSONTyped(value?: ProofRequest | null, ignoreDiscriminator?: boolean): any;