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

# SandwichLabelForEventType

> Sandwich event label types. Reference for the SandwichLabelForEventType enum in the Codex API: every value and where it is accepted.

<div data-generated>
  ## GraphQL

  ```
  enum SandwichLabelForEventType {
    sandwiched
    frontrun
    backrun
  }
  ```

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