Table of Contents

Class Events

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll
public class Events
Inheritance
Events
Inherited Members

Properties

AdditionalProperties

[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

Property Value

IDictionary<string, object>

Address

The contract address that emitted the event.

[JsonProperty("address", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Address { get; set; }

Property Value

string

BlockHash

The hash of the block containing this event.

[JsonProperty("blockHash", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string BlockHash { get; set; }

Property Value

string

BlockNumber

The block number where the event was emitted.

[JsonProperty("blockNumber", Required = Required.Always)]
public double BlockNumber { get; set; }

Property Value

double

BlockTimestamp

The timestamp of the block (Unix timestamp).

[JsonProperty("blockTimestamp", Required = Required.Always)]
public double BlockTimestamp { get; set; }

Property Value

double

ChainId

The chain ID where the event occurred.

[JsonProperty("chainId", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string ChainId { get; set; }

Property Value

string

Data

The non-indexed event data as a hex string.

[JsonProperty("data", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Data { get; set; }

Property Value

string

Decoded

Decoded event data (included when ABI is available).

[JsonProperty("decoded", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public Decoded3 Decoded { get; set; }

Property Value

Decoded3

LogIndex

The index of the log within the transaction.

[JsonProperty("logIndex", Required = Required.Always)]
public double LogIndex { get; set; }

Property Value

double

Topics

Array of indexed event topics (including event signature).

[JsonProperty("topics", Required = Required.Always)]
[Required]
public ICollection<string> Topics { get; set; }

Property Value

ICollection<string>

TransactionHash

The hash of the transaction containing this event.

[JsonProperty("transactionHash", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string TransactionHash { get; set; }

Property Value

string

TransactionIndex

The index of the transaction within the block.

[JsonProperty("transactionIndex", Required = Required.Always)]
public double TransactionIndex { get; set; }

Property Value

double