Returns the deposit amount for the item currently being set up for auction. Only returns useful information once an item has been placed in the Create Auction UI's "auction item" slot (see ClickAuctionSellItemButton()).

Deposit amount for an auction varies based on the item being auction, the auction's proposed run time, and the auction house being used (i.e. faction or neutral).


See also Auction functions.

Signature:

deposit = CalculateAuctionDeposit(runTime)

Arguments:

  • runTime - Run time of the proposed auction (number)
    • 720 - 12 hours
    • 1440 - 24 hours
    • 2880 - 48 hours

Returns:

  • deposit - Amount of the deposit (in copper) (number)