import { PublicKey } from '@solana/web3.js';
export async function handleQuoteSwap(ctx, input) {
    const q = await ctx.b402.quoteSwap({
        inMint: new PublicKey(input.inMint),
        outMint: new PublicKey(input.outMint),
        amount: BigInt(input.amount),
        slippageBps: input.slippageBps,
    });
    return { cluster: ctx.cluster, ...q };
}
//# sourceMappingURL=quote_swap.js.map