/** * 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. */ /** * * @export * @interface SwapStatusResponse */ export interface SwapStatusResponse { /** * Error message if the swap failed * @type {string} * @memberof SwapStatusResponse */ error?: string; /** * URL to view the swap transaction on a block explorer * @type {string} * @memberof SwapStatusResponse */ explorerLink?: string; /** * Human-readable status message for the swap * @type {string} * @memberof SwapStatusResponse */ message?: string; /** * URL to view the receiving transaction on a block explorer * @type {string} * @memberof SwapStatusResponse */ receivingTxLink?: string; /** * URL to view the sending transaction on a block explorer * @type {string} * @memberof SwapStatusResponse */ sendingTxLink?: string; /** * Current status of the swap operation * @type {string} * @memberof SwapStatusResponse */ status: SwapStatusResponseStatusEnum; /** * Detailed substatus providing additional context on the swap state * @type {string} * @memberof SwapStatusResponse */ substatus?: string; } /** * @export * @enum {string} */ export declare enum SwapStatusResponseStatusEnum { Pending = "PENDING", Done = "DONE", Failed = "FAILED", NotFound = "NOT_FOUND" } export declare function SwapStatusResponseFromJSON(json: any): SwapStatusResponse; export declare function SwapStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SwapStatusResponse; export declare function SwapStatusResponseToJSON(value?: SwapStatusResponse | null): any;