We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8198704 commit f05586aCopy full SHA for f05586a
sdk/src/titan/titanClient.ts
@@ -150,7 +150,7 @@ export class TitanClient {
150
amount: amount.toString(),
151
userPublicKey: userPublicKey.toString(),
152
...(slippageBps && { slippageBps: slippageBps.toString() }),
153
- ...(swapMode && { swapMode: normalizedSwapMode }),
+ ...(swapMode && { swapMode: normalizedSwapMode.toString() }),
154
...(maxAccounts && { accountsLimitTotal: maxAccounts.toString() }),
155
...(excludeDexes && { excludeDexes: excludeDexes.join(',') }),
156
...(onlyDirectRoutes && {
0 commit comments