/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Wrapper object containing the detached cosignature fields required to cosign an aggregate bonded transaction. * @export * @interface Cosignature */ export interface Cosignature { /** * 256-bit hash encoded as a 64-character hexadecimal string. * @type {string} * @memberof Cosignature */ parentHash: string; /** * 64-byte Ed25519 signature (128 hex characters). Generated by the signer using their private key * over the serialized entity payload. Can be verified with the signer's public key (`signerPublicKey`). * Used for blocks, transactions, and cosignatures. * * @type {string} * @memberof Cosignature */ signature: string; /** * 256-bit public key encoded as a hexadecimal string (64 hex characters). * @type {string} * @memberof Cosignature */ signerPublicKey: string; /** * Version of a detached cosignature attached to an aggregate bonded transaction. * Returned and submitted as a string because the value is encoded as an unsigned integer. * * @type {string} * @memberof Cosignature */ version: string; } /** * Check if a given object implements the Cosignature interface. */ export declare function instanceOfCosignature(value: Record): value is Cosignature; export declare function CosignatureFromJSON(json: any): Cosignature; export declare function CosignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cosignature; export declare function CosignatureToJSON(json: any): Cosignature; export declare function CosignatureToJSONTyped(value?: Cosignature | null, ignoreDiscriminator?: boolean): any;