diff --git a/package.json b/package.json index 5b782175..1628b5fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@paraswap/sdk", - "version": "6.11.0", + "version": "6.12.0", "main": "dist/index.js", "module": "dist/sdk.esm.js", "typings": "dist/index.d.ts", diff --git a/src/methods/swap/rates.ts b/src/methods/swap/rates.ts index 623ca4c6..d321404b 100644 --- a/src/methods/swap/rates.ts +++ b/src/methods/swap/rates.ts @@ -137,6 +137,10 @@ type RateQueryParams = { * @description If tokens USD prices are not available, `Bad USD Price` error will be thrown. Use this param to skip this check. Default: `false`. */ ignoreBadUsdPrice?: boolean; + /** + * @description Exclude all RFQs from pricing, e.g.: AugustusRFQ, Hashflow. Default: false + */ + excludeRFQ?: boolean; }; // more details in the docs https://developers.paraswap.network/api/get-rate-for-a-token-pair#query-parameters @@ -154,6 +158,8 @@ export type RateOptions = { otherExchangePrices?: boolean; /** @description proceed with priceRoute building even when tokens don't have USD price. Default: false */ ignoreBadUsdPrice?: boolean; + /** @description Exclude all RFQs from pricing, e.g.: AugustusRFQ, Hashflow. Default: false */ + excludeRFQ?: boolean; /** @description Specify that methods without fee support should be excluded from the price route. Default: false */ excludeContractMethodsWithoutFeeModel?: boolean; /** @description If the source token is a tax token, you should specify the tax amount in BPS. */