Skip to content

Solve an auction

POST
/admin/auctions/solve

This function handles the endpoint for solving auctions. It processes the auction solve request, aggregates authorizations and costs by bidder, and prepares submissions for the solver. The submissions are then sent to the solve queue for processing.

Authorizations

Request Body required

Configuration for scheduling and running a batch auction.

Flow trading uses batch auctions to clear markets at regular intervals. This structure defines the time parameters for scheduling these auctions.

object
by

Optionally divide the (from, thru) interval into smaller batches with the provided duration

This allows for scheduling multiple consecutive sub-auctions within the given time range.

string | null
from

The starting time of the batch; if omitted, defaults to the last batch’s ending time

string | null format: date-time
thru
required

The ending time of the batch

string format: date-time

Responses

202

Auction(s) initiated

400

Invalid datetime range

500