The DEX Liquidity Updates endpoint returns comprehensive data about liquidity pool activities including mint, burn, swap, and collect events.
Data[] ARRAY
An array containing valid and invalid amm liquidity updates for the requested time period. Amm liquidity updates are ordered by CCSEQ, which generally reflects the order of their calculation. Any backfilled amm liquidity updates that are added later will appear at the end of the array.
TYPE ID
The internal type of the message.
string
MARKET ID
The market / exchange under consideration (e.g. uniswapv2, uniswapv3 etc.).
string
INSTRUMENT ID
The unmapped instrument address and the CHAIN_ASSET separated by underscore (e.g. 0xe83c76c50033a5396d21ceff9fa192e2550d10ca_2, etc.)
string
MAPPED_INSTRUMENT MAPPING
The mapped instrument ID after applying our mapping rules. This takes the form: "BASE-QUOTE" and is available only for instruments that have been mapped (e.g. WETH-USDT).
string
EVENT LIQUIDITY_UPDATE
Mint/Burn/Swap/Collect - The type of liquidity event that occurred.
string
TRANSACTION_HASH LIQUIDITY_UPDATE
This is a unique cryptographic identifier that represents the specific transaction on the blockchain where the liquidity update event was discovered.
string
CHANGE_IN_BASE LIQUIDITY_UPDATE
The change in the quantity of the base instrument within the liquidity pool.
string
CHANGE_IN_QUOTE LIQUIDITY_UPDATE
The change in the quantity of the quote instrument within the liquidity pool.
string
CHANGE_IN_INVARIANT LIQUIDITY_UPDATE
This change in the invariant due to the liquidity update that has occurred. Note that for uniswapv2 based DEX, the fee from a swap is added to the invariant automatically which results in a slight positive CHANGE_IN_INVARIANT when a swap occurs.
string
STATUS STATUS
The status of the update (e.g. VALID).
string