Represents a single decoded event emitted by a smart contract

Export

ContractEvent

interface ContractEvent {
    block_height: number;
    block_time: string;
    contract_address: string;
    contract_name: string;
    data: string;
    event_index: number;
    event_name: string;
    four_bytes: string;
    network_id: string;
    protocol_name: string;
    sig: string;
    tx_hash: string;
    tx_index: number;
}

Properties

block_height: number

The block number in which the event was emitted

Memberof

ContractEvent

block_time: string

The timestamp of the block in which the event was emitted

Memberof

ContractEvent

contract_address: string

The EVM address of the smart contract

Memberof

ContractEvent

contract_name: string

The name of the specific contract within the project

Memberof

ContractEvent

data: string

The event data in a stringified format

Memberof

ContractEvent

event_index: number

The index of the event within the transaction

Memberof

ContractEvent

event_name: string

The name of the event emitted by the contract

Memberof

ContractEvent

four_bytes: string

The first four bytes of the Keccak hash of the event signature

Memberof

ContractEvent

network_id: string

The name of the blockchain network

Memberof

ContractEvent

protocol_name: string

The name of the blockchain project or protocol

Memberof

ContractEvent

sig: string

The signature of the event, including parameter types

Memberof

ContractEvent

tx_hash: string

The transaction hash in which the event was emitted

Memberof

ContractEvent

tx_index: number

The index of the transaction within the block

Memberof

ContractEvent