/** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TempoTransferDestination } from './tempo-transfer-destination'; import { TempoTransferDestinationItem } from './tempo-transfer-destination-item'; import { TempoTransferSource } from './tempo-transfer-source'; import { TransactionConfigurations } from './transaction-configurations'; /** * Request body for creating a Tempo transfer transaction. * @export * @interface CreateTempoTransferRequest */ export interface CreateTempoTransferRequest { /** * The ID of the asset to transfer. Must be a non-deprecated asset supported on a Tempo-eligible blockchain; an unknown, deprecated, or unsupported asset surfaces as 400 UNSUPPORTED_ASSET. * @type {string} * @memberof CreateTempoTransferRequest */ 'assetId': string; /** * * @type {TempoTransferSource} * @memberof CreateTempoTransferRequest */ 'source': TempoTransferSource; /** * A custom note that can be associated with the transaction. * @type {string} * @memberof CreateTempoTransferRequest */ 'note'?: string; /** * Unique ID provided by the customer, used to identify the transaction. * @type {string} * @memberof CreateTempoTransferRequest */ 'externalTxId'?: string; /** * The asset ID used to pay the transaction fee, if different from assetId. Maps to FeeParams.feeCurrency. Must be a valid fee token for `assetId` (e.g. a TIP-20 gas token for the base asset); an invalid pairing surfaces as 400 INVALID_FEE_CURRENCY_PARAM. * @type {string} * @memberof CreateTempoTransferRequest */ 'feeCurrency'?: string; /** * * @type {TempoTransferDestination} * @memberof CreateTempoTransferRequest */ 'destination'?: TempoTransferDestination; /** * The amount to transfer, as a numeric string. Required when `destination` is set; must be omitted when `destinations` is set (each entry carries its own amount instead). * @type {string} * @memberof CreateTempoTransferRequest */ 'amount'?: string; /** * If true, the specified amount includes the fee (fee is deducted from amount). * @type {boolean} * @memberof CreateTempoTransferRequest */ 'treatAsGrossAmount'?: boolean; /** * The fee level to use, mutually exclusive with an explicit custom fee. * @type {string} * @memberof CreateTempoTransferRequest */ 'feeLevel'?: CreateTempoTransferRequestFeeLevelEnum; /** * Beta. An opaque travel-rule payload. * @type {string} * @memberof CreateTempoTransferRequest */ 'travelRuleMessage'?: string; /** * Beta. An identifier of a TravelRule message, already sent to the TravelRule provider. * @type {string} * @memberof CreateTempoTransferRequest */ 'travelRuleMessageId'?: string; /** * Opt in to fee-payer-sponsored (gasless) transfer. * @type {boolean} * @memberof CreateTempoTransferRequest */ 'useGasless'?: boolean; /** * * @type {TransactionConfigurations} * @memberof CreateTempoTransferRequest */ 'configurations'?: TransactionConfigurations; /** * The maximum total fee per gas the sender is willing to pay, in wei. * @type {string} * @memberof CreateTempoTransferRequest */ 'maxFeePerGas'?: string; /** * The maximum priority fee (tip) per gas the sender is willing to pay, in wei. * @type {string} * @memberof CreateTempoTransferRequest */ 'maxPriorityFeePerGas'?: string; /** * Multiple destinations for a single transfer. Mutually exclusive with `destination`. * @type {Array} * @memberof CreateTempoTransferRequest */ 'destinations'?: Array; /** * Beta. If true, fail the transaction rather than sending it with a low fee. * @type {boolean} * @memberof CreateTempoTransferRequest */ 'failOnLowFee'?: boolean; /** * The gas limit for the transaction. * @type {string} * @memberof CreateTempoTransferRequest */ 'gasLimit'?: string; /** * Beta. The hash of the EVM transaction to replace (RBF). * @type {string} * @memberof CreateTempoTransferRequest */ 'replaceTxByHash'?: string; /** * Vault account ID of the fee payer sponsoring this transfer. * @type {string} * @memberof CreateTempoTransferRequest */ 'feePayerAccountId'?: string; /** * Tempo\'s 2-dimensional nonce strategy: `SEQUENTIAL` runs under a single nonce lane (lane 0); `USER_DEFINED_LANE` runs in parallel under a specified lane (1–16), and requires `nonceLane`; `EXPIRING` marks the transaction with an expiry of up to 5 minutes (Tempo-defined) and does not use `nonceLane`. * @type {string} * @memberof CreateTempoTransferRequest */ 'nonceStrategy'?: CreateTempoTransferRequestNonceStrategyEnum; /** * The nonce lane to use, 1–16. Required and only meaningful when nonceStrategy is USER_DEFINED_LANE; not used for SEQUENTIAL or EXPIRING. * @type {number} * @memberof CreateTempoTransferRequest */ 'nonceLane'?: number; } export declare const CreateTempoTransferRequestFeeLevelEnum: { readonly Low: "LOW"; readonly Medium: "MEDIUM"; readonly High: "HIGH"; }; export type CreateTempoTransferRequestFeeLevelEnum = typeof CreateTempoTransferRequestFeeLevelEnum[keyof typeof CreateTempoTransferRequestFeeLevelEnum]; export declare const CreateTempoTransferRequestNonceStrategyEnum: { readonly Sequential: "SEQUENTIAL"; readonly UserDefinedLane: "USER_DEFINED_LANE"; readonly Expiring: "EXPIRING"; }; export type CreateTempoTransferRequestNonceStrategyEnum = typeof CreateTempoTransferRequestNonceStrategyEnum[keyof typeof CreateTempoTransferRequestNonceStrategyEnum];