Bandwidth calculation for an rpc function - Supabase