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

# DeferredTopicFilter

When creating a filter using the `contract.filters`, this is returned.

## Properties

| Property   | Type                                                  | Description                |
| :--------- | :---------------------------------------------------- | :------------------------- |
| `fragment` | [`EventFragment`](/sdk/content/classes/EventFragment) | The fragment of the event. |

## Methods

### getTopicFilter()

```ts theme={null}
getTopicFilter(): Promise<TopicFilter>
```

Get the topic filter.

#### Returns

`Promise`\<[`TopicFilter`](/sdk/content/type-aliases/TopicFilter)>

A promise resolving to the topic filter.

#### Source

[contract/types.ts:56](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/contract/types.ts#L56)
