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

# TokenTransferEventWebhookCondition

> Match conditions for token-transfer events.

### TypeScript shape

```ts theme={null}
interface TokenTransferEventWebhookCondition {
  tokenAddress: StringEqualsCondition | null;
  networkId: OneOfNumberCondition | null;
  address: StringEqualsCondition | null;
  direction: OneOfTokenTransferDirectionCondition | null;
}
```

<ResponseField name="tokenAddress" type="StringEqualsCondition">
  Token contract 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="address" type="StringEqualsCondition">
  Wallet address (sender or recipient depending on `direction`). 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="direction" type="OneOfTokenTransferDirectionCondition">
  Direction of the transfer (`FROM` / `TO`). See [OneOfTokenTransferDirectionCondition](/api-reference/graphql/types/OneOfTokenTransferDirectionCondition).

  <Expandable title="View fields (OneOfTokenTransferDirectionCondition)">
    <ResponseField name="oneOf" type="[TokenTransferDirection!]!">
      Allowed directions. See [TokenTransferDirection](/api-reference/graphql/types/TokenTransferDirection).

      <Expandable title="View values (TokenTransferDirection)">
        <ResponseField name="FROM" type="enum">The watched address is the sender.</ResponseField>
        <ResponseField name="TO" type="enum">The watched address is the recipient.</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>
