> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# UnconfirmedEventData

> UnconfirmedEventData is part of the Codex API GraphQL schema. See every member type and where it appears in a response.

## GraphQL

```
union UnconfirmedEventData = UnconfirmedSwapEventData | UnconfirmedLiquidityChangeEventData

enum EventType {
  Burn
  Mint
  Swap
  Sync
  Collect
  CollectProtocol
  PoolBalanceChanged
  LiquidityLock
}

type UnconfirmedSwapEventData {
  amountNonLiquidityToken: String
  priceBaseToken: String
  priceBaseTokenTotal: String
  priceUsd: String
  priceUsdTotal: String
  type: EventType!
  amountBaseToken: String
}

type UnconfirmedLiquidityChangeEventData {
  amount0: String
  amount1: String
  amount0Shifted: String
  amount1Shifted: String
  type: EventType!
}
```

### Used By

**Returned by**

* [onUnconfirmedEventsCreated](https://docs.codex.io/api-reference/subscriptions/onunconfirmedeventscreated.md) *(deprecated)*: Deprecated unconfirmed live-streamed transactions for a token. Use `onEventsCreated` instead. (Solana only)
* [onUnconfirmedEventsCreatedByMaker](https://docs.codex.io/api-reference/subscriptions/onunconfirmedeventscreatedbymaker.md) *(deprecated)*: Deprecated unconfirmed live-streamed transactions for a maker. Use `onEventsCreatedByMaker` instead. (Solana only)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.