Utility.Auction.CostOrder

Returns the amount of silver it will cost to post a given order.

Usage:

cost = Utility.Auction.CostOrder(itemtype, quantity, time, buyout)
ParameterTypeDatatypeDescription
buyoutparameternumberThe total buyout for the new auction, in silver. Must be evenly divisible by quantity.
itemtypeparameteritemtypeThe item type to be ordered.
quantityparameternumberThe number of items to be ordered.
timeparameternumberThe duration that the order should last, in hours. Valid values are limited to 12, 24, and 48.
costresultnumberThe cost of posting this order, in silver. Includes the full deposit for the items.