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

# TokenPairEventWebhookCondition

> Match conditions for pair-level events (swap / mint / burn).

### TypeScript shape

```ts theme={null}
interface TokenPairEventWebhookCondition {
  tokenAddress: StringEqualsCondition | null;
  networkId: OneOfNumberCondition | null;
  swapValue: ComparisonOperator | null;
  maker: StringEqualsCondition | null;
  pairAddress: StringEqualsCondition | null;
  exchangeAddress: StringEqualsCondition | null;
  eventType: TokenPairEventTypeCondition | null;
}
```

<ResponseField name="tokenAddress" type="StringEqualsCondition">
  Match a single token address. See [StringEqualsCondition](/api-reference/graphql/types/StringEqualsCondition).

  <Expandable title="View fields (StringEqualsCondition)">
    <ResponseField name="eq" type="String!">String value to match exactly.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="networkId" type="OneOfNumberCondition">
  Match one of several network ids. See [OneOfNumberCondition](/api-reference/graphql/types/OneOfNumberCondition).

  <Expandable title="View fields (OneOfNumberCondition)">
    <ResponseField name="oneOf" type="[Int!]!">List of integers; matches if the value is in this list.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="swapValue" type="ComparisonOperator">
  Numeric threshold on swap value. See [ComparisonOperator](/api-reference/graphql/types/ComparisonOperator).

  <Expandable title="View fields (ComparisonOperator)">
    <ResponseField name="gt" type="String">Strictly greater than.</ResponseField>
    <ResponseField name="gte" type="String">Greater than or equal to.</ResponseField>
    <ResponseField name="lt" type="String">Strictly less than.</ResponseField>
    <ResponseField name="lte" type="String">Less than or equal to.</ResponseField>
    <ResponseField name="eq" type="String">Equal to.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="maker" type="StringEqualsCondition">
  Match the maker address. See [StringEqualsCondition](/api-reference/graphql/types/StringEqualsCondition).

  <Expandable title="View fields (StringEqualsCondition)">
    <ResponseField name="eq" type="String!">String value to match exactly.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="pairAddress" type="StringEqualsCondition">
  Match the pair address. See [StringEqualsCondition](/api-reference/graphql/types/StringEqualsCondition).

  <Expandable title="View fields (StringEqualsCondition)">
    <ResponseField name="eq" type="String!">String value to match exactly.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="exchangeAddress" type="StringEqualsCondition">
  Match the exchange/router address. See [StringEqualsCondition](/api-reference/graphql/types/StringEqualsCondition).

  <Expandable title="View fields (StringEqualsCondition)">
    <ResponseField name="eq" type="String!">String value to match exactly.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="eventType" type="TokenPairEventTypeCondition">
  Match one of `SWAP` / `MINT` / `BURN`. See [TokenPairEventTypeCondition](/api-reference/graphql/types/TokenPairEventTypeCondition).

  <Expandable title="View fields (TokenPairEventTypeCondition)">
    <ResponseField name="oneOf" type="[TokenPairEventType!]!">
      Allowed pair event types. See [TokenPairEventType](/api-reference/graphql/types/TokenPairEventType).

      <Expandable title="View values (TokenPairEventType)">
        <ResponseField name="SWAP" type="enum">A swap (trade) on the pair.</ResponseField>
        <ResponseField name="MINT" type="enum">Liquidity added to the pair.</ResponseField>
        <ResponseField name="BURN" type="enum">Liquidity removed from the pair.</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>
