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/typescript/auctions/llm.md — optimized for AI and LLM tools.
To restrict the listing to specific players, for example a guild, a friends list, or a single player for a one-to-one trade, set allowed_user_ids to the list of user IDs allowed to see, follow, and bid on the auction.
You can place a bid on an auction using the auctionsBid function. A bid amount is set through the bid field on the request, and currencies is optional if the bid is made with items instead of, or alongside, currency.
To bid with items from the player’s inventory, set instance_ids on the bid to the item instance IDs being escrowed. You can combine instance_ids with currencies, or omit currencies entirely for an items-only bid.
Set allowed_only to true to return only auctions where the caller is on the allowed users list for a directed auction, instead of the default public listings. A standard call (allowed_only false or omitted) and a restricted call (allowed_only true) return disjoint results, so use both to show a player the public marketplace and the restricted auctions they’ve been invited to as separate views.