> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dzap.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Trade Quotes Types

> Request and response types for getTradeQuotes.

Types used with `getTradeQuotes`. Import from `@dzapio/sdk`.

## TradeQuotesRequest

```typescript theme={null}
type TradeQuotesRequest = {
  fromChain: number;
  gasless?: boolean;
  private?: boolean;
  data: TradeQuotesRequestData[];
  disableEstimation?: boolean;
  account?: string;
  bridges?: ProtocolFilter;
  dexes?: ProtocolFilter;
  filter?: QuoteFilter;
  timingStrategy?: Partial<{ minWaitTimeMs; maxWaitTimeMs; subsequentDelayMs; preferredResultCount; relaxMinSuccessOnDelay }>;
};
```

## TradeQuotesRequestData

```typescript theme={null}
type TradeQuotesRequestData = {
  amount: string;        // wei as string
  srcToken: string;
  srcDecimals?: number;
  destToken: string;
  destDecimals?: number;
  toChain: number;
  slippage: number;
  selectedSource?: string;
};
```

## TradeQuotesResponse

Returned directly by `getTradeQuotes()` (object keyed by pair key):

```typescript theme={null}
type TradeQuotesResponse = {
  [pair: string]: {
    status?: string;
    message?: string;
    recommendedSource: string;
    fastestSource?: string;
    bestReturnSource: string;
    questSource?: string;
    quoteRates?: TradeQuotesByProviderId;
    tokensWithoutPrice: Record<number, string[]>;
  };
};
```

Use `recommendedSource ?? bestReturnSource` when building trade data.

## Next steps

* [Trade Build & Execute Types](/sdk/reference/types/trade-build-execute)
* [Request quotes](/sdk/trade/request-quotes)
