참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.A ContractEventPayload is included as the last parameter to Contract Events when the event is known.
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 |
string
string
Parameter | Type | Description |
---|---|---|
shard | Shard | The shard to get the block from. |
Promise
<Block
>
A promise resolving to the block the event occured in.
ContractUnknownEventPayload
.getBlock
Promise
<TransactionResponse
>
A promise resolving to the transaction the event occured in.
ContractUnknownEventPayload
.getTransaction
Promise
<TransactionReceipt
>
A promise resolving to the transaction receipt the event occured in.
ContractUnknownEventPayload
.getTransactionReceipt
Promise
<void
>
ContractUnknownEventPayload
.removeListener