/** * 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 SystemCostingParameters */ export interface SystemCostingParameters { /** * The string-encoded decimal representing the XRD price of a single cost unit of transaction execution. * 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 SystemCostingParameters */ execution_cost_unit_price: string; /** * An integer between `0` and `2^32 - 1`, representing the maximum amount of cost units available for the transaction execution. * @type {number} * @memberof SystemCostingParameters */ execution_cost_unit_limit: number; /** * An integer between `0` and `2^32 - 1`, representing the maximum number of cost units which can be used before fee is locked from a vault. * @type {number} * @memberof SystemCostingParameters */ execution_cost_unit_loan: number; /** * The string-encoded decimal representing the XRD price of a single cost unit of transaction finalization. * 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 SystemCostingParameters */ finalization_cost_unit_price: string; /** * An integer between `0` and `2^32 - 1`, representing the maximum amount of cost units available for the transaction finalization. * @type {number} * @memberof SystemCostingParameters */ finalization_cost_unit_limit: number; /** * The string-encoded decimal representing what amount of XRD is consumed by a Royalty of 1 USD. * This is fixed for a given protocol version, so is not an accurate representation of the XRD price. * 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 SystemCostingParameters */ xrd_usd_price: string; /** * The string-encoded decimal representing the price of 1 byte of state storage, expressed in XRD. * 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 SystemCostingParameters */ xrd_storage_price: string; /** * The string-encoded decimal representing the price of 1 byte of archive storage, expressed in XRD. * 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 SystemCostingParameters */ xrd_archive_storage_price: string; } /** * Check if a given object implements the SystemCostingParameters interface. */ export declare function instanceOfSystemCostingParameters(value: object): boolean; export declare function SystemCostingParametersFromJSON(json: any): SystemCostingParameters; export declare function SystemCostingParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemCostingParameters; export declare function SystemCostingParametersToJSON(value?: SystemCostingParameters | null): any;