/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.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 { FlowFeeBreakdown } from './FlowFeeBreakdown'; import { SwapSigningPayload } from './SwapSigningPayload'; /** * A versioned quote snapshot stored on a flow. * @export * @interface FlowQuote */ export interface FlowQuote { /** * Monotonically increasing version number for this quote * @type {number} * @memberof FlowQuote */ version: number; /** * Amount being sent in the source token * @type {string} * @memberof FlowQuote */ fromAmount: string; /** * Amount to be received in the destination token * @type {string} * @memberof FlowQuote */ toAmount: string; /** * * @type {FlowFeeBreakdown} * @memberof FlowQuote */ fees?: FlowFeeBreakdown; /** * Estimated time in seconds for the swap to complete * @type {number} * @memberof FlowQuote */ estimatedTimeSec?: number; /** * * @type {SwapSigningPayload} * @memberof FlowQuote */ signingPayload?: SwapSigningPayload; /** * ISO 8601 timestamp of when the quote was created * @type {Date} * @memberof FlowQuote */ createdAt: Date; /** * ISO 8601 timestamp of when the quote expires * @type {Date} * @memberof FlowQuote */ expiresAt: Date; } export declare function FlowQuoteFromJSON(json: any): FlowQuote; export declare function FlowQuoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowQuote; export declare function FlowQuoteToJSON(value?: FlowQuote | null): any;