Skip to main content
Version: 10.x

Type Alias: EMITTED_EVENT

EMITTED_EVENT = EVENT & object

Defined in: node_modules/@starknet-io/starknet-types-0104/dist/types/api/components.d.ts:260

Type Declaration

transaction_hash

transaction_hash: TXN_HASH

The transaction that emitted the event

transaction_index

transaction_index: number

The index of the transaction in the block by which the event was emitted

Minimum

0

event_index

event_index: number

The index of the event in the transaction by which it was emitted

Minimum

0

block_hash?

optional block_hash?: BLOCK_HASH

The hash of the block in which the event was emitted

block_number?

optional block_number?: BLOCK_NUMBER

The number of the block in which the event was emitted

Minimum

0