Hiro Auctions provides an open marketplace for users to trade items through competitive bidding within a set time frame. The system ensures fair participation by validating a user’s ability to afford bids, and guarantees reliable exchanges between the highest bidder and the seller at the end of each listing.
An auction listing is essentially an item for sale with a series of bids. Key elements include:
The end time of the listing.
The current highest bid or starting bid.
The minimum required bid for the next participant.
Listings can only be created for items in the seller’s Hiro Inventory.
Each auction progresses through a simple, linear process:
Creating a Listing: The seller chooses an item from their inventory, and it is removed from their possession until the auction concludes.
Bidding: Other users bid, with amounts deducted from their wallets to ensure they can afford the bid at both placement and auction close. Users cannot bid on their own listings or on those where they are the current highest bidder. Bidders that were outbid get their currency back immediately, no waiting until the end of the auction.
End of Auction: The listing concludes, and both the seller and winning bidder are notified to claim their rewards.
The JSON schema defines an auctions object which must contain an individual object for each auction you wish to define in the system. You can configure as few or as many auction types as needed for your desired gameplay.
Property
Type
Description
auctions
string:Auction
A map of all auctions.
Each individual auction is keyed by name and may define the following:
The minimum amount of currency that is required to bid on a listing.
bid_increment
AuctionConditionBidIncrement
The minimum difference between the current bid and the next bid amount, expressed as either a flat amount or a percentage based on current bid. If both a flat value and percentage are specified, both must be satisfied by any new bid for it to be allowed.
extension_threshold_sec
int64
If a bid is placed within this number of seconds from the listing ending, the listing is extended.
extension_sec
int64
The number of seconds to extend the listing by. This time is added to the original listing end time, not based on the time the bid was placed.
extension_max_sec
int64
The maximum number of seconds that the original listing end time can be extended by.
fee
AuctionConditionFee
A flat and/or percentage-based fee paid by the seller when collecting the winning bid amount. If both a flat fee as well as a percentage are specified, the fee will be the minimum amount that satisfies both conditions. The successful bidder does not pay an additional fee when claiming their item at the end of the listing.
The minimum percentage increase of currencies required above the previous bid amount for a new bid to be allowed. Expressed as a fraction, e.g. 0.1 = 10%, 0.5 = 50%, 1.25 = 125%
fixed
AuctionConditionBid
The minimum amount of currency required above the previous bid amount for a new bid to be allowed.