Skip to content

Commit

Permalink
feat: added TokenCategoryBasedIntermediateTokensParameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Molendys authored and Pietro Molendys committed Dec 11, 2024
1 parent 522b012 commit 00e7021
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
24 changes: 23 additions & 1 deletion jupiter/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions jupiter/openapi/jupiter-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ paths:
- $ref: "#/components/parameters/MaxAccountsParameter"
- $ref: "#/components/parameters/MinimizeSlippage"
- $ref: "#/components/parameters/PreferLiquidDexes"
- $ref: "#/components/parameters/TokenCategoryBasedIntermediateTokensParameter"
responses:
"200":
description: Successful response
Expand Down Expand Up @@ -553,3 +554,10 @@ components:
in: query
schema:
type: boolean
TokenCategoryBasedIntermediateTokensParameter:
name: tokenCategoryBasedIntermediateTokens
description: Default is false. Uses categorized top token lists as intermediate tokens to optimize routing paths, replacing the old static top token list. This helps achieve better pricing while maintaining route reliability.
in: query
schema:
type: boolean

0 comments on commit 00e7021

Please sign in to comment.