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