UNPKG

rosetta-sdk-typescript

Version:

Typescript SDK to create and interact with Rosetta API implementations.

47 lines (46 loc) 1.39 kB
/** * Rosetta * Build Once. Integrate Your Blockchain Everywhere. * * The version of the OpenAPI document: 1.4.10 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { PublicKey, SignatureType, SigningPayload } from './'; /** * Signature contains the payload that was signed, the public keys of the keypairs used to produce the signature, the signature (encoded in hex), and the SignatureType. PublicKey is often times not known during construction of the signing payloads but may be needed to combine signatures properly. * @export * @interface Signature */ export interface Signature { /** * * @type {SigningPayload} * @memberof Signature */ signing_payload: SigningPayload; /** * * @type {PublicKey} * @memberof Signature */ public_key: PublicKey; /** * * @type {SignatureType} * @memberof Signature */ signature_type: SignatureType; /** * * @type {string} * @memberof Signature */ hex_bytes: string; } export declare function SignatureFromJSON(json: any): Signature; export declare function SignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): Signature; export declare function SignatureToJSON(value?: Signature | null): any;