/** * 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 { PublicKey } from './PublicKey'; /** * * @export * @interface TransactionHeader */ export interface TransactionHeader { /** * The logical id of the network * @type {number} * @memberof TransactionHeader */ network_id: number; /** * An integer between `0` and `10^10`, marking the epoch from which the transaction can be submitted. * In the case of uncommitted transactions, a value of `10^10` indicates that the epoch was >= `10^10`. * @type {number} * @memberof TransactionHeader */ start_epoch_inclusive: number; /** * An integer between `0` and `10^10`, marking the epoch from which the transaction will no longer be valid, and be rejected. * In the case of uncommitted transactions, a value of `10^10` indicates that the epoch was >= `10^10`. * @type {number} * @memberof TransactionHeader */ end_epoch_exclusive: number; /** * An integer between `0` and `2^32 - 1`, chosen to allow a unique intent to be created (to enable submitting an otherwise identical/duplicate intent). * * As of Cuttlefish and V2 transaction models, this is now referred to in documentation as the `intent_discriminator`. * @type {number} * @memberof TransactionHeader */ nonce: number; /** * * @type {PublicKey} * @memberof TransactionHeader */ notary_public_key: PublicKey; /** * Specifies whether the notary public key should be included in the transaction signers list * @type {boolean} * @memberof TransactionHeader */ notary_is_signatory: boolean; /** * An integer between `0` and `65535`, giving the validator tip as a percentage amount. A value of `1` corresponds to 1% of the fee. * @type {number} * @memberof TransactionHeader */ tip_percentage: number; } /** * Check if a given object implements the TransactionHeader interface. */ export declare function instanceOfTransactionHeader(value: object): boolean; export declare function TransactionHeaderFromJSON(json: any): TransactionHeader; export declare function TransactionHeaderFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionHeader; export declare function TransactionHeaderToJSON(value?: TransactionHeader | null): any;