Orderbook
The Orderbook provides real-time pricing and detailed data from private market makers, aggregated through the Native Swap Engine.
Swappers can access the latest information by querying the orderbook endpoint and analyzing the returned data, which includes price levels and token quantities.
Example Response:
Note: The price levels provided are non-cumulative. For example, to execute a trade of 30 ETH for USDT, the price would be calculated as:
(0.0001 * 3213.12345 + 12.75786733219471 * 3210.15 + (30 - 0.0001 - 12.75786733219471) * 3210.12) / 30 = 3,210.13276787883
Last updated