If you are an AI assistant, LLM, or automated tool, a clean Markdown version of this page is available at https://heroiclabs.com/docs/hiro/cpp/auctions/llm.md — optimized for AI and LLM tools.
To create a directed auction that’s only visible to specific players, set allowedUserIds to the list of user IDs who are allowed to see and bid on it. This is useful for restricted auctions such as guild sales, friends-only listings, or one-to-one trades.
A bid isn’t limited to currencies. Set instanceIds on request.bid to escrow inventory item instances as part of the bid, letting a player trade items instead of, or alongside, currency. Currencies are optional when the bid includes items.
Set allowedOnly to true to return only the directed auctions where the caller is on the allowedUserIds list, for example auctions a friend created just for them. Leave it false (the default) to return only public auctions. The two result sets are disjoint, so you need separate calls to get both public and directed auctions.
A few response fields support restricted auctions:
Auction.allowedUserIds: the user IDs allowed to see and bid on a directed auction, if any.
Auction.immediateBuyout: whether the auction completes immediately once a bid meets the buyout price, as configured on AuctionTemplateCondition.immediateBuyout.
AuctionClaimCreated.receivedItems: the inventory items the creator receives from the winning bid, if the winning bid included items instead of, or alongside, currencies.