Function validator_worker::sentry_interface::campaigns::all_campaigns
source · pub async fn all_campaigns(
client: Client,
sentry_url: &ApiUrl,
for_validator: Option<ValidatorId>
) -> Result<Vec<Campaign>, Error>
Expand description
Fetches all Campaign
s from sentry
by going through all pages and collecting the Campaign
s into a single Vec
You can filter by &validator=0x...
when passing for_validator
.
This will return campaigns that include the provided for_validator
validator.