Utility.Auction.Cost

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

Usage:

cost = Utility.Auction.Cost(item, time, bid, buyout)
ParameterTypeDatatypeDescription
bidparameternumberThe minimum bid for the new auction, in silver.
buyoutparameternumber/nilThe buyout for the new auction, in silver. nil if no buyout is desired.
itemparameteritemThe ID of the item to be auctioned.
timeparameternumberThe duration that the auction should last, in hours. Valid values are limited to 12, 24, and 48.
costresultnumberThe cost of posting this auction, in silver.