> ## 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.

# UnconfirmedSwapEventData

> Event data for a token swap event.

<div data-generated>
  ## GraphQL

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

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

  ### Used By

  **Returned by**

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