/** * Radix Core API * This API is exposed by the Babylon Radix node to give clients access to the Radix Engine, Mempool and State in the node. The default configuration is intended for use by node-runners on a private network, and is not intended to be exposed publicly. Very heavy load may impact the node\'s function. The node exposes a configuration flag which allows disabling certain endpoints which may be problematic, but monitoring is advised. This configuration parameter is `api.core.flags.enable_unbounded_endpoints` / `RADIXDLT_CORE_API_FLAGS_ENABLE_UNBOUNDED_ENDPOINTS`. This API exposes queries against the node\'s current state (see `/lts/state/` or `/state/`), and streams of transaction history (under `/lts/stream/` or `/stream`). If you require queries against snapshots of historical ledger state, you may also wish to consider using the [Gateway API](https://docs-babylon.radixdlt.com/). ## Integration and forward compatibility guarantees Integrators (such as exchanges) are recommended to use the `/lts/` endpoints - they have been designed to be clear and simple for integrators wishing to create and monitor transactions involving fungible transfers to/from accounts. All endpoints under `/lts/` have high guarantees of forward compatibility in future node versions. We may add new fields, but existing fields will not be changed. Assuming the integrating code uses a permissive JSON parser which ignores unknown fields, any additions will not affect existing code. Other endpoints may be changed with new node versions carrying protocol-updates, although any breaking changes will be flagged clearly in the corresponding release notes. All responses may have additional fields added, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. * * The version of the OpenAPI document: v1.3.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface FeeSummary */ export interface FeeSummary { /** * An integer between `0` and `2^32 - 1`, representing the amount of cost units consumed by the transaction execution. * @type {number} * @memberof FeeSummary */ execution_cost_units_consumed: number; /** * An integer between `0` and `2^32 - 1`, representing the amount of cost units consumed by the transaction finalization. * @type {number} * @memberof FeeSummary */ finalization_cost_units_consumed: number; /** * The string-encoded decimal representing the total amount of XRD burned in the transaction as part of execution costs. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof FeeSummary */ xrd_total_execution_cost: string; /** * The string-encoded decimal representing the total amount of XRD burned in the transaction as part of finalization costs. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof FeeSummary */ xrd_total_finalization_cost: string; /** * The string-encoded decimal representing the total amount of XRD paid in royalties as part of the transaction. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof FeeSummary */ xrd_total_royalty_cost: string; /** * The string-encoded decimal representing the total amount of XRD paid in state expansion costs as part of the transaction. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof FeeSummary */ xrd_total_storage_cost: string; /** * The string-encoded decimal representing the total amount of XRD tipped to validators in the transaction. * A decimal is formed of some signed integer `m` of attos (`10^(-18)`) units, where `-2^(192 - 1) <= m < 2^(192 - 1)`. * @type {string} * @memberof FeeSummary */ xrd_total_tipping_cost: string; } /** * Check if a given object implements the FeeSummary interface. */ export declare function instanceOfFeeSummary(value: object): boolean; export declare function FeeSummaryFromJSON(json: any): FeeSummary; export declare function FeeSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeeSummary; export declare function FeeSummaryToJSON(value?: FeeSummary | null): any;