import { PublicKey } from '@solana/web3.js';
export async function handleHoldings(ctx, input) {
    const r = await ctx.b402.holdings({
        mint: input.mint ? new PublicKey(input.mint) : undefined,
        refresh: input.refresh,
    });
    return { cluster: ctx.cluster, holdings: r.holdings };
}
//# sourceMappingURL=holdings.js.map