/** * 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 transfers a mosaic balance between accounts. * For example, this receipt is emitted when mosaic or namespace rental fees are paid. * In that case, the sender address is the account registering the mosaic or namespace, and the * recipient address is the configured rental fee sink address. * * @export * @interface BalanceTransferReceiptDTO */ export interface BalanceTransferReceiptDTO { /** * Version of the receipt format. * @type {number} * @memberof BalanceTransferReceiptDTO */ version: number; /** * * @type {ReceiptTypeEnum} * @memberof BalanceTransferReceiptDTO */ 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 BalanceTransferReceiptDTO */ 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 BalanceTransferReceiptDTO */ 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 BalanceTransferReceiptDTO */ senderAddress: 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 BalanceTransferReceiptDTO */ recipientAddress: string; } /** * Check if a given object implements the BalanceTransferReceiptDTO interface. */ export declare function instanceOfBalanceTransferReceiptDTO(value: Record): value is BalanceTransferReceiptDTO; export declare function BalanceTransferReceiptDTOFromJSON(json: any): BalanceTransferReceiptDTO; export declare function BalanceTransferReceiptDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BalanceTransferReceiptDTO; export declare function BalanceTransferReceiptDTOToJSON(json: any): BalanceTransferReceiptDTO; export declare function BalanceTransferReceiptDTOToJSONTyped(value?: BalanceTransferReceiptDTO | null, ignoreDiscriminator?: boolean): any;