Table of Contents

Method GetCompletedHeroChallenges

Namespace
GuildWars2.Exploration
Assembly
GW2SDK.dll

GetCompletedHeroChallenges(string, string?, CancellationToken)

Retrieves the IDs of completed hero challenges on a character. This endpoint is only accessible with a valid access token.

public Task<(HashSet<string> Value, MessageContext Context)> GetCompletedHeroChallenges(string characterName, string? accessToken, CancellationToken cancellationToken = default)

Parameters

characterName string

A character name that belongs to the account associated with the access token.

accessToken string

An API key or subtoken.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(HashSet<string> Value, MessageContext Context)>

A task that represents the API request.