Fetch the high-rate-donor stats for a campaign.
FetchDonationTrainCampaignStatsParams.
Promise resolving to the raw high-rate-donor rows.
Error when donationTrainApiUrl isn't configured, or when the response is non-2xx.
donationTrainApiUrl
const donors = await fetchDonationTrainHighRateDonors({ campaignID: "abc" }); Copy
const donors = await fetchDonationTrainHighRateDonors({ campaignID: "abc" });
FetchDonationTrainCampaignStatsParams
Fetch the high-rate-donor stats for a campaign.