Skip to content

Commit

Permalink
chore: types
Browse files Browse the repository at this point in the history
  • Loading branch information
NickKelly1 committed Sep 23, 2024
1 parent f978b42 commit c50ec46
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions packages/swap/src/providers/jupiter/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,19 @@ export type JupiterSwapResponse = {
computeUnitLimit?: number;
prioritizationType?: {
computeBudget?: {
microLamports: 71428;
estimatedMicroLamports: 142856;
/** @example 71428 */
microLamports: number;
/** @example 142856 */
estimatedMicroLamports: number;
};
};
dynamicSlippageReport: null;
// TODO: Narrow down
dynamicSlippageReport: null | {
slippageBps?: null | string | number;
otherAmount?: null | string | number;
simulatedIncurredSlippageBps?: null | string | number;
amplificationRatio?: null | string | number;
};
// TODO: Type
simulationError: null;
};

1 comment on commit c50ec46

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.