Returns the amount of silver it will cost to post a given auction.
| cost = Utility.Auction.Cost(item, time, bid, buyout) | |||
| Parameter | Type | Datatype | Description |
|---|---|---|---|
| bid | parameter | number | The minimum bid for the new auction, in silver. |
| buyout | parameter | number/nil | The buyout for the new auction, in silver. nil if no buyout is desired. |
| item | parameter | item | The ID of the item to be auctioned. |
| time | parameter | number | The duration that the auction should last, in hours. Valid values are limited to 12, 24, and 48. |
| cost | result | number | The cost of posting this auction, in silver. |