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

# EventFeeData

> Fee breakdown for a single event. All wei-denominated fields are in the network's native token smallest unit.

<div data-generated>
  ## GraphQL

  ```
  type EventFeeData {
    poolFeeRateRaw: String
    poolFeeBps: Float
    poolFeeAmountRaw: String
    dynamicFee: Boolean
    estimatedPoolFee: Boolean
    baseFeeNativeUnit: String
    priorityFeeNativeUnit: String
    gasUsed: String
    poolFeeCurrencyIndex: Int
    protocolFeeCurrencyIndex: Int
    builderTipNativeUnit: String
    l1DataFeeNativeUnit: String
    txEventCount: Int
    supplementalFeeData: SupplementalFeeData
  }

  type PumpCashbackFeeData {
    type: String!
    cashbackFeeBps: Int!
    cashbackAmountLamports: String!
  }

  type PumpAmmCashbackFeeData {
    type: String!
    cashbackFeeBps: Int!
    cashbackAmountLamports: String!
  }

  type LiftHarvestFeeData {
    type: String!
    positionId: String!
    quoteAddress: String!
    creatorAddress: String
    quoteToCreator: String!
    quoteToTreasury: String!
    baseBurned: String!
  }

  type TollyCollectionFeeData {
    type: String!
    positionId: String!
    projectToken: String!
    quoteCollectedRaw: String!
    tokenBurnedRaw: String!
    tollyBuybackRaw: String!
    projectBuybackRaw: String!
    projectBuybackAccruedRaw: String!
    holderRewardsRaw: String!
    protocolRaw: String!
    creatorPaidRaw: String!
    creatorAccruedRaw: String!
  }

  union SupplementalFeeData = PumpCashbackFeeData | PumpAmmCashbackFeeData | LiftHarvestFeeData | TollyCollectionFeeData
  ```

  ### Used By

  **Returned by**

  * [getTokenEvents](/api-reference/queries/gettokenevents.md): Returns transactions for a pair.
  * [getTokenEventsForMaker](/api-reference/queries/gettokeneventsformaker.md): Returns a list of token events for a given maker (wallet address).
  * [onEventsCreated](/api-reference/subscriptions/oneventscreated.md): Live-streamed transactions for a pair.
  * [onEventsCreatedByMaker](/api-reference/subscriptions/oneventscreatedbymaker.md): Live-streamed transactions for a maker.
  * [onTokenEventsCreated](/api-reference/subscriptions/ontokeneventscreated.md): Live-streamed events for a given token across all it's pools
</div>


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