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