# VyExchangeRateDto

## Properties

| Field        | Type                                                                                                | Description                                                                                                                           | Required |
| ------------ | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| exchange     | [VyExchangeType](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vyexchangetype) | The name of the exchange that will carry out the swap                                                                                 | ✗        |
| orderType    | [VyOrderType](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vyordertype)       | The type of order. Values can be either \`BUY\` or \`SELL\`.                                                                          | ✗        |
| inputAmount  | number                                                                                              | The number of source tokens to swap                                                                                                   | ✗        |
| outputAmount | number                                                                                              | The number of destination tokens you will receive after swap                                                                          | ✗        |
| slippage     | number                                                                                              | The slippage, indicated as a percentage, refers to the difference between the expected price of a trade and the actual executed price | ✗        |
| fee          | number                                                                                              | The gas fee required to execute the swap                                                                                              | ✗        |

## References

**Schema**

* [VyExchangeRateResultDto](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/vyexchangerateresultdto)
