By batch auction
A batch auction is settled on-chain as a single transaction, and it is this transaction hash that is used to query the details of the batch auction. By simply searching for the transaction hash, the user will be presented with an overview of the batch auction.
The batch auction details page provides:
- A list of all orders that were settled in the batch auction
- A graph showing the routing within the batch auction
Let's take a look at the example batch auction
In the "Orders" tab, the user can see all the orders that were settled in the batch auction. If the user clicks on the respective order ID, they will be taken to the order details page for that order.
This is perhaps one of the most interesting areas, where one can take what was previously an abstract concept of a batch auction, and visualize it in a way that is easy to understand.
This is a visual representation of the routing that was used to settle the batch auction.
There are two types of visualizations, which can be toggled in the controls at the top right of the graph tab:
The default visualization method. This graph shows the orders that were settled in the batch auction, and the routing that was used to settle the batch auction. The graph is interactive, and the user can hover over any of the edges to see the amount that was settled between the respective nodes of the graph.
This graph shows the tokens traded as nodes, and the edges are the flow between them. Green arrows denote protocol trades; red arrows represent token flows through the various pools/AMMs/liquidity sources which make the trades possible.