참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.A ContractEventPayload is included as the last parameter to Contract Events when the event is known.
Extends
Properties
| Property | Modifier | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|---|
args | readonly | Result | The parsed arguments passed to the event by emit. | - | - |
emitter | readonly | EventEmitterable<ContractEventName> | The EventEmitterable. | ContractUnknownEventPayload.emitter | ContractUnknownEventPayload.emitter |
filter | readonly | ContractEventName | The event filter. | ContractUnknownEventPayload.filter | ContractUnknownEventPayload.filter |
fragment | readonly | EventFragment | The matching event. | - | - |
log | readonly | EventLog | The log, with parsed properties. | ContractUnknownEventPayload.log | ContractUnknownEventPayload.log |
Accessors
eventName
Returns
string
Source
contract/wrappers.ts:238eventSignature
Returns
string
Source
contract/wrappers.ts:245Methods
getBlock()
Parameters
| Parameter | Type | Description |
|---|---|---|
shard | Shard | The shard to get the block from. |
Returns
Promise<Block>
A promise resolving to the block the event occured in.
Inherited from
ContractUnknownEventPayload.getBlock
Source
contract/wrappers.ts:176getTransaction()
Returns
Promise<TransactionResponse>
A promise resolving to the transaction the event occured in.
Inherited from
ContractUnknownEventPayload.getTransaction
Source
contract/wrappers.ts:185getTransactionReceipt()
Returns
Promise<TransactionReceipt>
A promise resolving to the transaction receipt the event occured in.
Inherited from
ContractUnknownEventPayload.getTransactionReceipt
Source
contract/wrappers.ts:194removeListener()
Returns
Promise<void>
Inherited from
ContractUnknownEventPayload.removeListener
