Method GetGuildBank
- Namespace
- GuildWars2.Guilds
- Assembly
- GW2SDK.dll
GetGuildBank(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves the guild vault of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
public Task<(List<GuildBankTab> Value, MessageContext Context)> GetGuildBank(string guildId, string? accessToken, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
guildId
stringThe guild ID.
accessToken
stringAn API key or subtoken.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(List<GuildBankTab> Value, MessageContext Context)>
A task that represents the API request.