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

# ContractUnknownEventPayload

A **ContractUnknownEventPayload** is included as the last parameter to Contract Events when the event does not match
any events in the ABI.

## Extends

* [`EventPayload`](/sdk/content/classes/EventPayload)\<[`ContractEventName`](/sdk/content/type-aliases/ContractEventName)>

## Extended by

* [`ContractEventPayload`](/sdk/content/classes/ContractEventPayload)

## Properties

| Property  | Modifier   | Type                                                                                                                                | Description                      | Inherited from                                                |
| :-------- | :--------- | :---------------------------------------------------------------------------------------------------------------------------------- | :------------------------------- | :------------------------------------------------------------ |
| `emitter` | `readonly` | [`EventEmitterable`](/sdk/content/interfaces/EventEmitterable)\<[`ContractEventName`](/sdk/content/type-aliases/ContractEventName)> | The **EventEmitterable**.        | [`EventPayload`](/sdk/content/classes/EventPayload).`emitter` |
| `filter`  | `readonly` | [`ContractEventName`](/sdk/content/type-aliases/ContractEventName)                                                                  | The event filter.                | [`EventPayload`](/sdk/content/classes/EventPayload).`filter`  |
| `log`     | `readonly` | [`Log`](/sdk/content/classes/Log)                                                                                                   | The log with no matching events. | -                                                             |

## Methods

### getBlock()

```ts theme={null}
getBlock(shard): Promise<Block>
```

Resolves to the block the event occured in.

#### Parameters

| Parameter | Type                                       | Description                      |
| :-------- | :----------------------------------------- | :------------------------------- |
| `shard`   | [`Shard`](/sdk/content/enumerations/Shard) | The shard to get the block from. |

#### Returns

`Promise`\<[`Block`](/sdk/content/classes/Block)>

A promise resolving to the block the event occured in.

#### Source

[contract/wrappers.ts:176](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/contract/wrappers.ts#L176)

***

### getTransaction()

```ts theme={null}
getTransaction(): Promise<TransactionResponse>
```

Resolves to the transaction the event occured in.

#### Returns

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

A promise resolving to the transaction the event occured in.

#### Source

[contract/wrappers.ts:185](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/contract/wrappers.ts#L185)

***

### getTransactionReceipt()

```ts theme={null}
getTransactionReceipt(): Promise<TransactionReceipt>
```

Resolves to the transaction receipt the event occured in.

#### Returns

`Promise`\<[`TransactionReceipt`](/sdk/content/classes/TransactionReceipt)>

A promise resolving to the transaction receipt the event occured in.

#### Source

[contract/wrappers.ts:194](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/contract/wrappers.ts#L194)

***

### removeListener()

```ts theme={null}
removeListener(): Promise<void>
```

Unregister the triggered listener for future events.

#### Returns

`Promise`\<`void`>

#### Inherited from

[`EventPayload`](/sdk/content/classes/EventPayload).[`removeListener`](/sdk/content/classes/EventPayload#removelistener)

#### Source

[utils/events.ts:99](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/utils/events.ts#L99)
