/** * Radix Gateway API - Babylon * This API is exposed by the Babylon Radix Gateway to enable clients to efficiently query current and historic state on the RadixDLT ledger, and intelligently handle transaction submission. It is designed for use by wallets and explorers, and for light queries from front-end dApps. For exchange/asset integrations, back-end dApp integrations, or simple use cases, you should consider using the Core API on a Node. A Gateway is only needed for reading historic snapshots of ledger states or a more robust set-up. The Gateway API is implemented by the [Network Gateway](https://github.com/radixdlt/babylon-gateway), which is configured to read from [full node(s)](https://github.com/radixdlt/babylon-node) to extract and index data from the network. This document is an API reference documentation, visit [User Guide](https://docs.radixdlt.com/) to learn more about how to run a Gateway of your own. ## Migration guide Please see [the latest release notes](https://github.com/radixdlt/babylon-gateway/releases). ## Integration and forward compatibility guarantees All responses may have additional fields added at any release, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects. When the Radix protocol is updated, new functionality may be added, and so discriminated unions returned by the API may need to be updated to have new variants added, corresponding to the updated data. Clients may need to update in advance to be able to handle these new variants when a protocol update comes out. On the very rare occasions we need to make breaking changes to the API, these will be warned in advance with deprecation notices on previous versions. These deprecation notices will include a safe migration path. Deprecation notes or breaking changes will be flagged clearly in release notes for new versions of the Gateway. The Gateway DB schema is not subject to any compatibility guarantees, and may be changed at any release. DB changes will be flagged in the release notes so clients doing custom DB integrations can prepare. * * The version of the OpenAPI document: v1.10.1 * * * 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 { ManifestClass } from './ManifestClass'; import type { TransactionBalanceChanges } from './TransactionBalanceChanges'; import type { TransactionReceipt } from './TransactionReceipt'; import type { TransactionStatus } from './TransactionStatus'; import type { TransactionSubintentDetails } from './TransactionSubintentDetails'; /** * * @export * @interface CommittedTransactionInfo */ export interface CommittedTransactionInfo { /** * * @type {number} * @memberof CommittedTransactionInfo */ state_version: number; /** * * @type {number} * @memberof CommittedTransactionInfo */ epoch: number; /** * * @type {number} * @memberof CommittedTransactionInfo */ round: number; /** * * @type {string} * @memberof CommittedTransactionInfo */ round_timestamp: string; /** * * @type {TransactionStatus} * @memberof CommittedTransactionInfo */ transaction_status: TransactionStatus; /** * Bech32m-encoded hash. * @type {string} * @memberof CommittedTransactionInfo */ payload_hash?: string; /** * Bech32m-encoded hash. * @type {string} * @memberof CommittedTransactionInfo */ intent_hash?: string; /** * String-encoded decimal representing the amount of a related fungible resource. * @type {string} * @memberof CommittedTransactionInfo */ fee_paid?: string; /** * * @type {Array} * @memberof CommittedTransactionInfo */ affected_global_entities?: Array; /** * * @type {Date} * @memberof CommittedTransactionInfo */ confirmed_at?: Date | null; /** * * @type {string} * @memberof CommittedTransactionInfo */ error_message?: string | null; /** * Hex-encoded binary blob. * @type {string} * @memberof CommittedTransactionInfo */ raw_hex?: string; /** * * @type {TransactionReceipt} * @memberof CommittedTransactionInfo */ receipt?: TransactionReceipt; /** * A text-representation of a transaction manifest. This field will be present only for user transactions and when explicitly opted-in using the `manifest_instructions` flag. * @type {string} * @memberof CommittedTransactionInfo */ manifest_instructions?: string; /** * A collection of zero or more manifest classes ordered from the most specific class to the least specific one. This field will be present only for user transactions. For user transactions with subintents only the root transaction intent is currently used to determine the manifest classes. * @type {Array} * @memberof CommittedTransactionInfo */ manifest_classes?: Array; /** * The optional transaction message. This type is defined in the Core API as `TransactionMessage`. See the Core API documentation for more details. * @type {object} * @memberof CommittedTransactionInfo */ message?: object; /** * * @type {TransactionBalanceChanges} * @memberof CommittedTransactionInfo */ balance_changes?: TransactionBalanceChanges | null; /** * Subintent details. Please note that it is returned regardless of whether the transaction was committed successfully or failed, and it can be returned in multiple transactions. * @type {Array} * @memberof CommittedTransactionInfo */ subintent_details?: Array; /** * The child subintent hashes of the root transaction intent. Please note that it is returned regardless of whether the transaction was committed successfully or failed, and it can be returned in multiple transactions. * @type {Array} * @memberof CommittedTransactionInfo */ child_subintent_hashes?: Array; } /** * Check if a given object implements the CommittedTransactionInfo interface. */ export declare function instanceOfCommittedTransactionInfo(value: object): boolean; export declare function CommittedTransactionInfoFromJSON(json: any): CommittedTransactionInfo; export declare function CommittedTransactionInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommittedTransactionInfo; export declare function CommittedTransactionInfoToJSON(value?: CommittedTransactionInfo | null): any;