Table of Contents

Class WalletClient

Namespace
GuildWars2.Hero.Wallet
Assembly
GW2SDK.dll

Provides query methods for currencies in the game and in the account wallet.

public sealed class WalletClient
Inheritance
WalletClient
Inherited Members

Constructors

WalletClient(HttpClient)

Initializes a new instance of the WalletClient class.

Methods

GetCurrencies(Language?, MissingMemberBehavior, CancellationToken)

Retrieves all currencies.

GetCurrenciesByIds(IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)

Retrieves currencies by their IDs.

GetCurrenciesByPage(int, int?, Language?, MissingMemberBehavior, CancellationToken)

Retrieves a page of currencies.

GetCurrenciesIndex(CancellationToken)

Retrieves the IDs of all currencies.

GetCurrencyById(int, Language?, MissingMemberBehavior, CancellationToken)

Retrieves a currency by its ID.

GetWallet(string?, MissingMemberBehavior, CancellationToken)

Retrieves the amount of currency in the wallet of the account associated with the access token. This endpoint is only accessible with a valid access token.