/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.4 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { NetworkTypeEnum } from './NetworkTypeEnum'; /** * Transaction to create or modify a multisig account. * @export * @interface AccountMetadataTransactionDTO */ export interface AccountMetadataTransactionDTO { /** * A number that allows uint 32 values. * @type {number} * @memberof AccountMetadataTransactionDTO */ size: number; /** * Entity's signature generated by the signer. * @type {string} * @memberof AccountMetadataTransactionDTO */ signature: string; /** * Public key. * @type {string} * @memberof AccountMetadataTransactionDTO */ signerPublicKey: string; /** * Entity version. * @type {number} * @memberof AccountMetadataTransactionDTO */ version: number; /** * * @type {NetworkTypeEnum} * @memberof AccountMetadataTransactionDTO */ network: NetworkTypeEnum; /** * * @type {number} * @memberof AccountMetadataTransactionDTO */ type: number; /** * Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative). * @type {string} * @memberof AccountMetadataTransactionDTO */ maxFee: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof AccountMetadataTransactionDTO */ deadline: string; /** * Address expressed in Base32 format. If the bit 0 of byte 0 is not set (like in 0x90), then it is a * regular address. Example: TAOXUJOTTW3W5XTBQMQEX3SQNA6MCUVGXLXR3TA. * Otherwise (e.g. 0x91) it represents a namespace id which starts at byte 1. Example: THBIMC3THGH5RUYAAAAAAAAAAAAAAAAAAAAAAAA * * @type {string} * @memberof AccountMetadataTransactionDTO */ targetAddress: string; /** * Metadata key scoped to source, target and type expressed. * @type {string} * @memberof AccountMetadataTransactionDTO */ scopedMetadataKey: string; /** * Change in value size in bytes. * @type {number} * @memberof AccountMetadataTransactionDTO */ valueSizeDelta: number; /** * A number that allows uint 32 values. * @type {number} * @memberof AccountMetadataTransactionDTO */ valueSize: number; /** * Metadata value. If embedded in a transaction, this is calculated as xor(previous-value, value). * @type {string} * @memberof AccountMetadataTransactionDTO */ value: string; } /** * Check if a given object implements the AccountMetadataTransactionDTO interface. */ export declare function instanceOfAccountMetadataTransactionDTO(value: Record): value is AccountMetadataTransactionDTO; export declare function AccountMetadataTransactionDTOFromJSON(json: any): AccountMetadataTransactionDTO; export declare function AccountMetadataTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountMetadataTransactionDTO; export declare function AccountMetadataTransactionDTOToJSON(json: any): AccountMetadataTransactionDTO; export declare function AccountMetadataTransactionDTOToJSONTyped(value?: AccountMetadataTransactionDTO | null, ignoreDiscriminator?: boolean): any;