Skip to content
Version 2.11.0
↓ Get the launcher

IExchange.BuyAsync method

Buy quantity of an item at price via the game’s own trade buy. The game builds the request and validates it server-side.

public Task<ExchangeBuyOutcome> BuyAsync(int itemId, int quantity, long price,
CancellationToken ct = default)
parameter description
itemId The item’s config id.
quantity How many to buy.
price The unit price to pay (match a current listing).
ct Cancels the request before dispatch.

The game’s outcome for the buy.