# VyExchangeRateFilterDto

## Properties

| Field          | Type                                                                                             | Description                                            | Required |
| -------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------ | -------- |
| fromSecretType | [VyChain](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/broken-reference) | Blockchain of the source token                         | ✗        |
| toSecretType   | [VyChain](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/broken-reference) | Blockchain of the destination token                    | ✗        |
| fromToken      | string                                                                                           | Token address of the source token                      | ✗        |
| toToken        | string                                                                                           | Token address of the destination token                 | ✗        |
| amount         | number                                                                                           | The amount of tokens to swap                           | ✗        |
| orderType      | [VyOrderType](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/enum/vyordertype)    | The type of order. We only allow \`SELL\` and \`BUY\`. | ✗        |

## References

**Operation**

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