/* tslint:disable */ /* eslint-disable */ /** * 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. */ // May contain unused imports in some cases // @ts-ignore import { AccessTypeResponse } from './access-type-response'; // May contain unused imports in some cases // @ts-ignore import { Fee } from './fee'; // May contain unused imports in some cases // @ts-ignore import { QuoteExecutionStep } from './quote-execution-step'; // May contain unused imports in some cases // @ts-ignore import { Side } from './side'; // May contain unused imports in some cases // @ts-ignore import { TransferRail } from './transfer-rail'; /** * A committed executable quote for a trading pair. * @export * @interface Quote */ export interface Quote { /** * * @type {AccessTypeResponse} * @memberof Quote */ 'via': AccessTypeResponse; /** * The unique identifier of the quote. * @type {string} * @memberof Quote */ 'id': string; /** * The target asset identifier. * @type {string} * @memberof Quote */ 'quoteAssetId': string; /** * The source asset identifier. * @type {string} * @memberof Quote */ 'baseAssetId': string; /** * The amount of the base asset. * @type {string} * @memberof Quote */ 'baseAmount': string; /** * The amount of the quote asset. * @type {string} * @memberof Quote */ 'quoteAmount': string; /** * * @type {Side} * @memberof Quote */ 'side': Side; /** * The expiration time of the quote in ISO 8601 format, taken verbatim from the provider. This is not safety-margined by the server — integrators must apply their own margin if one is needed. * @type {string} * @memberof Quote */ 'expiresAt': string; /** * The type of the quote. * @type {string} * @memberof Quote */ 'type': QuoteTypeEnum; /** * * @type {TransferRail} * @memberof Quote */ 'quoteAssetRail'?: TransferRail; /** * * @type {TransferRail} * @memberof Quote */ 'baseAssetRail'?: TransferRail; /** * The estimated price impact as a decimal fraction. * @type {number} * @memberof Quote */ 'priceImpact'?: number; /** * The minimum guaranteed amount of the quote asset. * @type {string} * @memberof Quote */ 'quoteMinAmount'?: string; /** * Indicates if slippage was applied to the quote. * @type {boolean} * @memberof Quote */ 'isSlippageApplied'?: boolean; /** * Ordered list of execution steps for the quote. * @type {Array} * @memberof Quote */ 'executionSteps'?: Array; /** * General fees associated with the quote. * @type {Array} * @memberof Quote */ 'generalFees'?: Array; /** * A JSON Schema Draft-7 document in string format describing the fields required when creating an order so clients can validate their order payload before sending. * @type {string} * @memberof Quote */ 'requiredParticipantsIdentificationOnOrder'?: string; } export const QuoteTypeEnum = { Committed: 'COMMITTED', Indicative: 'INDICATIVE' } as const; export type QuoteTypeEnum = typeof QuoteTypeEnum[keyof typeof QuoteTypeEnum];