Function findBestMSolSuperStakeIxs
- findBestMSolSuperStakeIxs(__namedParameters: {
amount: BN;
driftClient: DriftClient;
forceMarinade?: boolean;
jupiterClient: JupiterClient;
jupiterQuote?: QuoteResponse;
onlyDirectRoutes?: boolean;
price?: number;
userAccountPublicKey?: PublicKey;
}): Promise<{
ixs: TransactionInstruction[];
lookupTables: AddressLookupTableAccount[];
method: "jupiter" | "marinade";
price: number;
}>
-
Parameters
-
__namedParameters: {
amount: BN;
driftClient: DriftClient;
forceMarinade?: boolean;
jupiterClient: JupiterClient;
jupiterQuote?: QuoteResponse;
onlyDirectRoutes?: boolean;
price?: number;
userAccountPublicKey?: PublicKey;
}
-
amount: BN
-
-
Optional
forceMarinade?: boolean
-
-
-
Optional
onlyDirectRoutes?: boolean
-
Optional
price?: number
-
Optional
userAccountPublicKey?: PublicKey
Returns Promise<{
ixs: TransactionInstruction[];
lookupTables: AddressLookupTableAccount[];
method: "jupiter" | "marinade";
price: number;
}>