import { Estimation } from "./estimation-response"; interface DlnEvmTransaction { to: string; data: string; value: string; allowanceTarget: string; allowanceValue: string; } interface DlnSolanaTransaction { data: string; } /** * Swap transaction response. */ export interface TransactionResponse { /** * Trade estimation response. */ estimation: Estimation; /** * Tells API server to prepend operating expenses to the input amount. */ prependedOperatingExpenseCost: string; /** * Provider fee. */ fixFee: string; /** * Transaction data. */ tx: T; } export interface DlnEvmTransactionResponse extends TransactionResponse { } export interface DlnSolanaTransactionResponse extends TransactionResponse { } /** * Swap transaction error response. */ export interface TransactionErrorResponse { /** * Error code. */ errorCode: number; /** * Error ID. */ errorId: string; /** * Error message. */ errorMessage: string; } export {};