The commitment level of the event within the live stream.
See EventCommitmentLevel
The event-specific data for the transaction. Can be
BurnEventData or MintEventData or SwapEventData.
See EventDataThe type of transaction event. Can be
Burn, Mint, Swap, Sync, Collect, or CollectProtocol.
See EventTypeThe ID of the event (
address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.The token of interest within the token’s top pair. Can be
token0 or token1.
See QuoteTokenA more specific breakdown of
eventType. Splits Swap into Buy or Sell.
See EventDisplayTypeLabels attributed to the event.
See LabelsForEvent
Fee breakdown for this event.
See EventFeeData
The app the trade was placed through, when it could be determined. Null for the majority of events — most on-chain trades carry no identifying signal. Currently populated for Solana swaps only.
See TradeSource
The measurement units of the raw side amounts in
data (amount0, amount1, …); null when the pool measures in its tokens’ metadata.
See CurrencyUnitsUsed By
Returned by- getTokenEvents: Returns transactions for a pair.
- getTokenEventsForMaker: Returns a list of token events for a given maker (wallet address).
- onEventsCreated: Live-streamed transactions for a pair.
- onEventsCreatedByMaker: Live-streamed transactions for a maker.
- onTokenEventsCreated: Live-streamed events for a given token across all it’s pools