The dex.events table contains pool creation, add/remove liquidity events of liquidity pools. This table is used to track key events such as liquidity addition and removal events. Currently, we support 7 DEX protocols on Sui.
  • cetus, turbos, momentum, flow_v2, flow_v3, bluemove, bluefin
  • Columns appended with _str are in string format and will retain precision.
  • Note that not all columns are applicable to all events.

Table Columns

Unique Key: unique_id
Column NameDescription
eventType of event (e.g., pool_created, add_liquidity, remove_liquidity)
projectName of the project (e.g., cetus, bluemove, bluefin)
package_idThe package ID that contains the DEX protocol implementation
liquidity_pool_addressThe liquidity pool address which emitted the event
senderAddress of the sender of the event
coin0_typeCoin0 address
coin0_nameCoin0 name
coin0_symbolCoin0 symbol
coin0_decimalsCoin0 decimals
coin0_amount_raw_strCoin0 amount unnormalized, in string format for precision
coin0_amount_rawCoin0 amount unnormalized
coin0_amount_strCoin0 amount normalized, in string format for precision
coin0_amountCoin0 amount normalized
coin0_amount_usdCoin0 USD amount
coin0_price_usdCoin0 hourly USD price at the time of the event
coin1_typeCoin1 address
coin1_nameCoin1 name
coin1_symbolCoin1 symbol
coin1_decimalsCoin1 decimals
coin1_amount_raw_strCoin1 amount unnormalized, in string format for precision
coin1_amount_rawCoin1 amount unnormalized
coin1_amount_strCoin1 amount normalized, in string format for precision
coin1_amountCoin1 amount normalized
coin1_amount_usdCoin1 USD amount
coin1_price_usdCoin1 hourly USD price at the time of the event
usd_amountUSD value of the event
position_idUnique identifier for the liquidity position
liquidityLiquidity amount in the position
tick_lowerLower tick boundary for concentrated liquidity
tick_upperUpper tick boundary for concentrated liquidity
tick_spacingTick spacing for the pool
gas_fees_mistGas fees paid in MIST (Sui’s native token)
gas_fees_sui_amountGas fees in SUI amount
gas_fees_amount_usdGas fees in USD
transaction_block_digestTransaction block digest
event_seqEvent sequence number
checkpoint_timestampCheckpoint timestamp of this event
checkpoint_sequenceCheckpoint sequence number
checkpoint_digestCheckpoint digest
unique_idUnique ID of each event
_created_atTimestamp of the entry creation
_updated_atTimestamp of the entry update
_changed_since_full_refreshBoolean indicator on whether this table was full-refreshed