/** * 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 { CheckoutFeeBreakdown } from './CheckoutFeeBreakdown'; import { SwapSigningPayload } from './SwapSigningPayload'; /** * * @export * @interface CheckoutTransactionQuote */ export interface CheckoutTransactionQuote { /** * Monotonically increasing version number for this quote * @type {number} * @memberof CheckoutTransactionQuote */ version: number; /** * Amount being sent in the source token * @type {string} * @memberof CheckoutTransactionQuote */ fromAmount: string; /** * Amount to be received in the destination token * @type {string} * @memberof CheckoutTransactionQuote */ toAmount: string; /** * * @type {CheckoutFeeBreakdown} * @memberof CheckoutTransactionQuote */ fees?: CheckoutFeeBreakdown; /** * Estimated time in seconds for the swap to complete * @type {number} * @memberof CheckoutTransactionQuote */ estimatedTimeSec?: number; /** * Raw quote result data from the swap provider * @type {object} * @memberof CheckoutTransactionQuote */ rawQuote?: object; /** * * @type {SwapSigningPayload} * @memberof CheckoutTransactionQuote */ signingPayload?: SwapSigningPayload; /** * ISO 8601 timestamp of when the quote was created * @type {Date} * @memberof CheckoutTransactionQuote */ createdAt: Date; /** * ISO 8601 timestamp of when the quote expires * @type {Date} * @memberof CheckoutTransactionQuote */ expiresAt: Date; } export declare function CheckoutTransactionQuoteFromJSON(json: any): CheckoutTransactionQuote; export declare function CheckoutTransactionQuoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutTransactionQuote; export declare function CheckoutTransactionQuoteToJSON(value?: CheckoutTransactionQuote | null): any;