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

# SandwichedLabelData

> Metadata for a sandwich label. Reference for the SandwichedLabelData type in the Codex API: every field, its type, and the operations that return it.

## GraphQL

```
type SandwichedLabelData {
  token0DrainedAmount: String
  token1DrainedAmount: String
}
```

### Used By

**Returned by**

* [getEventLabels](https://docs.codex.io/api-reference/queries/geteventlabels.md): Returns a list of event labels for a pair.
* [onEventLabelCreated](https://docs.codex.io/api-reference/subscriptions/oneventlabelcreated.md): Live-streamed event labels for a token.


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