Represents an event triggered by a smart contract activity on the blockchain. Contains information about the function, transaction, block, and involved addresses.

Export

SmartContractActivityEvent

interface SmartContractActivityEvent {
    blockHash?: string;
    blockNumber?: number;
    blockTime?: string;
    contractAddress?: string;
    contractName?: string;
    eventType?: string;
    fourBytes?: string;
    from?: string;
    func?: string;
    logIndex?: number;
    network?: string;
    projectName?: string;
    sig?: string;
    to?: string;
    transactionHash?: string;
    transactionIndex?: number;
    value?: number;
    webhookId?: string;
}

Properties

blockHash?: string

Hash of the block containing the transaction.

Memberof

SmartContractActivityEvent

blockNumber?: number

Number of the block containing the transaction.

Memberof

SmartContractActivityEvent

blockTime?: string

Timestamp when the block was mined.

Memberof

SmartContractActivityEvent

contractAddress?: string

Address of the smart contract.

Memberof

SmartContractActivityEvent

contractName?: string

Name of the contract.

Memberof

SmartContractActivityEvent

eventType?: string

Type of event, in this case, an ERC-721 token transfer.

Memberof

SmartContractActivityEvent

fourBytes?: string

First 4 bytes of the Transaction, a unique ID.

Memberof

SmartContractActivityEvent

from?: string

Address of the initiator in the transfer.

Memberof

SmartContractActivityEvent

func?: string

Name of the function.

Memberof

SmartContractActivityEvent

logIndex?: number

Position of the event log within the transaction.

Memberof

SmartContractActivityEvent

network?: string

Blockchain network where the event occurred.

Memberof

SmartContractActivityEvent

projectName?: string

Name of the project this smart contract belongs to.

Memberof

SmartContractActivityEvent

sig?: string

Signature of the function.

Memberof

SmartContractActivityEvent

to?: string

Address of the recipient in the transfer.

Memberof

SmartContractActivityEvent

transactionHash?: string

Hash of the transaction that triggered the event.

Memberof

SmartContractActivityEvent

transactionIndex?: number

Position of the transaction within the block.

Memberof

SmartContractActivityEvent

value?: number

Amount of tokens transferred, typically in the smallest unit (e.g., wei for Ethereum).

Memberof

SmartContractActivityEvent

webhookId?: string

Unique identifier for the webhook that triggered this event.

Memberof

SmartContractActivityEvent