Use case

To offer your End Users a smooth user experience, when your End Users place an order, we advise you to compare in your front-end the amount of the order with the current listing price. Like we just saw before, the End User order must be:

  • greater or equal than the current price if this is the first order for this specific Asset/token,

  • greater than the current price if there is at least 1 order for this specific Asset/token.

Otherwise, the End User should not be able to place an action.

We will see it later but when the endpoint to create an order is called, the back-end checks the order price with the current listing price.

API

Here is the link to the API documentation to get a minimum order price for a specific listing:

https://sandbox.nfts.eniblock.fr/redoc/listings-trades#operation/computeAuctionOrderMinimumPrice