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

# LabelsForEvent

> Container for sandwich and washtrade detection labels attributed to a single Event.

### TypeScript shape

```ts theme={null}
interface LabelsForEvent {
  sandwich: SandwichLabelForEvent | null;
  washtrade: WashtradeLabelForEvent | null;
}
```

Currently emitted as `null` on every event. Use the dedicated [`onEventLabelCreated`](/api-reference/graphql/subscriptions/onEventLabelCreated) subscription for live MEV labels.

<ResponseField name="sandwich" type="SandwichLabelForEvent">
  Sandwich detection details. See [SandwichLabelForEvent](/api-reference/graphql/types/SandwichLabelForEvent).

  <Expandable title="SandwichLabelForEvent fields">
    <ResponseField name="label" type="String!">Display label (`sandwiched`, `frontrun`, `backrun`).</ResponseField>
    <ResponseField name="sandwichType" type="SandwichLabelForEventType!">Discriminator. See [SandwichLabelForEventType](/api-reference/graphql/types/SandwichLabelForEventType).</ResponseField>
    <ResponseField name="token0DrainedAmount" type="String!">Token0 drained amount.</ResponseField>
    <ResponseField name="token1DrainedAmount" type="String!">Token1 drained amount.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="washtrade" type="WashtradeLabelForEvent">
  Washtrade detection details. See [WashtradeLabelForEvent](/api-reference/graphql/types/WashtradeLabelForEvent).

  <Expandable title="WashtradeLabelForEvent fields">
    <ResponseField name="label" type="String!">Display label for the washtrade classification.</ResponseField>
  </Expandable>
</ResponseField>
