/** * 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. */ import type { TransactionFormatOptions } from './TransactionFormatOptions'; /** * * @export * @interface TransactionParseRequest */ export interface TransactionParseRequest { /** * The logical name of the network * @type {string} * @memberof TransactionParseRequest */ network: string; /** * A hex-encoded payload of a full transaction or a partial transaction - either a notarized transaction, * a signed transaction intent an unsigned transaction intent, or a ledger payload. * @type {string} * @memberof TransactionParseRequest */ payload_hex: string; /** * The type of transaction payload that should be assumed. If omitted, "Any" is used - where the payload is * attempted to be parsed as each of the following in turn: Notarized, Signed, Unsigned, Ledger. * @type {string} * @memberof TransactionParseRequest */ parse_mode?: TransactionParseRequestParseModeEnum; /** * The type of validation that should be performed, if the payload correctly decompiles as a Notarized Transaction. * This is only relevant for Notarized payloads. If omitted, "Static" is used. * @type {string} * @memberof TransactionParseRequest */ validation_mode?: TransactionParseRequestValidationModeEnum; /** * The amount of information to return in the response. * "Basic" includes the type, validity information, and any relevant identifiers. * "Full" also includes the fully parsed information. * If omitted, "Full" is used. * @type {string} * @memberof TransactionParseRequest */ response_mode?: TransactionParseRequestResponseModeEnum; /** * * @type {TransactionFormatOptions} * @memberof TransactionParseRequest */ transaction_format_options?: TransactionFormatOptions; } /** * @export */ export declare const TransactionParseRequestParseModeEnum: { readonly Any: "Any"; readonly Notarized: "Notarized"; readonly Signed: "Signed"; readonly Unsigned: "Unsigned"; readonly Ledger: "Ledger"; }; export type TransactionParseRequestParseModeEnum = typeof TransactionParseRequestParseModeEnum[keyof typeof TransactionParseRequestParseModeEnum]; /** * @export */ export declare const TransactionParseRequestValidationModeEnum: { readonly None: "None"; readonly Static: "Static"; readonly Full: "Full"; }; export type TransactionParseRequestValidationModeEnum = typeof TransactionParseRequestValidationModeEnum[keyof typeof TransactionParseRequestValidationModeEnum]; /** * @export */ export declare const TransactionParseRequestResponseModeEnum: { readonly Basic: "Basic"; readonly Full: "Full"; }; export type TransactionParseRequestResponseModeEnum = typeof TransactionParseRequestResponseModeEnum[keyof typeof TransactionParseRequestResponseModeEnum]; /** * Check if a given object implements the TransactionParseRequest interface. */ export declare function instanceOfTransactionParseRequest(value: object): boolean; export declare function TransactionParseRequestFromJSON(json: any): TransactionParseRequest; export declare function TransactionParseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionParseRequest; export declare function TransactionParseRequestToJSON(value?: TransactionParseRequest | null): any;