Skip to content

Commit

Permalink
feat: support addConsensusAccount and swapUsdValue in swaps (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkamo authored Feb 1, 2025
1 parent 89a28a5 commit 38e6814
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jupiter/client.gen.go

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

5 changes: 5 additions & 0 deletions jupiter/openapi/jupiter-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ components:
type: number
timeTaken:
type: number
swapUsdValue:
type: string
required:
- inputMint
- outputMint
Expand Down Expand Up @@ -349,6 +351,9 @@ components:
correctLastValidBlockHeight:
description: Optional. Default to false. Request Swap object to be returned with the correct blockhash prior to Agave 2.0.
type: boolean
addConsensusAccount:
description: Optional. Default to false. Add consensus account to (hopefully) prevent MEV attacks
type: boolean
quoteResponse:
$ref: '#/components/schemas/QuoteResponse'
required:
Expand Down

0 comments on commit 38e6814

Please sign in to comment.