/** * 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. */ import type { ReceiptTypeEnum } from './ReceiptTypeEnum'; /** * Receipt emitted when transaction execution changes an account mosaic balance. * For example, this receipt is emitted when harvesting rewards are credited to the harvester or * beneficiary account. * * @export * @interface BalanceChangeReceiptDTO */ export interface BalanceChangeReceiptDTO { /** * Version of the receipt format. * @type {number} * @memberof BalanceChangeReceiptDTO */ version: number; /** * * @type {ReceiptTypeEnum} * @memberof BalanceChangeReceiptDTO */ type: ReceiptTypeEnum; /** * Unique [mosaic](https://docs.symbol.dev/concepts/mosaic.html) identifier. * A 64-bit unsigned integer derived from the creator's address and a registration nonce, * encoded as a 16-character hexadecimal string. * * @type {string} * @memberof BalanceChangeReceiptDTO */ mosaicId: string; /** * Absolute amount expressed in the mosaic's smallest (atomic) unit, with no decimal point. * For example, an amount of `123456789` for a mosaic with divisibility 6 represents * `123.456789` whole units. Encoded as a string to preserve precision, since the value * is an unsigned 64-bit integer. * * @type {string} * @memberof BalanceChangeReceiptDTO */ amount: string; /** * Address encoded as a 48-character hexadecimal string (24 bytes). * The REST API returns addresses in this format. For Base32-encoded addresses (39 chars) see `Address`. * * @type {string} * @memberof BalanceChangeReceiptDTO */ targetAddress: string; } /** * Check if a given object implements the BalanceChangeReceiptDTO interface. */ export declare function instanceOfBalanceChangeReceiptDTO(value: Record): value is BalanceChangeReceiptDTO; export declare function BalanceChangeReceiptDTOFromJSON(json: any): BalanceChangeReceiptDTO; export declare function BalanceChangeReceiptDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BalanceChangeReceiptDTO; export declare function BalanceChangeReceiptDTOToJSON(json: any): BalanceChangeReceiptDTO; export declare function BalanceChangeReceiptDTOToJSONTyped(value?: BalanceChangeReceiptDTO | null, ignoreDiscriminator?: boolean): any;