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

# ContractEventPayload

> **참고**: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.

A **ContractEventPayload** is included as the last parameter to Contract Events when the event is known.

## Extends

* [`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload)

## Properties

| Property   | Modifier   | Type                                                                                                                                      | Description                                         | Overrides                                                                                      | Inherited from                                                                                 |
| :--------- | :--------- | :---------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------- | :--------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
| `args`     | `readonly` | [`Result`](/ko/sdk/content/classes/Result)                                                                                                | The parsed arguments passed to the event by `emit`. | -                                                                                              | -                                                                                              |
| `emitter`  | `readonly` | [`EventEmitterable`](/ko/sdk/content/interfaces/EventEmitterable)\<[`ContractEventName`](/ko/sdk/content/type-aliases/ContractEventName)> | The **EventEmitterable**.                           | [`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).`emitter` | [`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).`emitter` |
| `filter`   | `readonly` | [`ContractEventName`](/ko/sdk/content/type-aliases/ContractEventName)                                                                     | The event filter.                                   | [`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).`filter`  | [`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).`filter`  |
| `fragment` | `readonly` | [`EventFragment`](/ko/sdk/content/classes/EventFragment)                                                                                  | The matching event.                                 | -                                                                                              | -                                                                                              |
| `log`      | `readonly` | [`EventLog`](/ko/sdk/content/classes/EventLog)                                                                                            | The log, with parsed properties.                    | [`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).`log`     | [`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).`log`     |

## Accessors

### eventName

```ts theme={null}
get eventName(): string
```

The event name.

#### Returns

`string`

#### Source

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

***

### eventSignature

```ts theme={null}
get eventSignature(): string
```

The event signature.

#### Returns

`string`

#### Source

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

## Methods

### getBlock()

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

Resolves to the block the event occured in.

#### Parameters

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

#### Returns

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

A promise resolving to the block the event occured in.

#### Inherited from

[`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).[`getBlock`](/ko/sdk/content/classes/ContractUnknownEventPayload#getblock)

#### 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`](/ko/sdk/content/type-aliases/TransactionResponse)>

A promise resolving to the transaction the event occured in.

#### Inherited from

[`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).[`getTransaction`](/ko/sdk/content/classes/ContractUnknownEventPayload#gettransaction)

#### 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`](/ko/sdk/content/classes/TransactionReceipt)>

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

#### Inherited from

[`ContractUnknownEventPayload`](/ko/sdk/content/classes/ContractUnknownEventPayload).[`getTransactionReceipt`](/ko/sdk/content/classes/ContractUnknownEventPayload#gettransactionreceipt)

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

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

#### Source

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