Table of Contents

Class Transaction

Namespace
Thirdweb.Bridge
Assembly
Thirdweb.dll

Represents a transaction ready to be executed.

public class Transaction
Inheritance
Transaction
Inherited Members
Extension Methods

Properties

Action

The action type for the transaction (e.g., "approval", "transfer", "buy", "sell").

[JsonProperty("action")]
public string Action { get; set; }

Property Value

string

ChainId

The chain ID where the transaction will take place.

[JsonProperty("chainId")]
public BigInteger ChainId { get; set; }

Property Value

BigInteger

Data

The transaction data.

[JsonProperty("data")]
public string Data { get; set; }

Property Value

string

From

The address from which the transaction is sent, or null if not applicable.

[JsonProperty("from", NullValueHandling = NullValueHandling.Ignore)]
public string From { get; set; }

Property Value

string

Gas

The gas limit for the transaction.

[JsonProperty("gas", NullValueHandling = NullValueHandling.Ignore)]
public string Gas { get; set; }

Property Value

string

Id

The transaction ID, each step in a quoted payment will have a unique transaction ID.

[JsonProperty("id")]
public string Id { get; set; }

Property Value

string

MaxFeePerGas

The maximum fee per gas (EIP-1559).

[JsonProperty("maxFeePerGas", NullValueHandling = NullValueHandling.Ignore)]
public string MaxFeePerGas { get; set; }

Property Value

string

MaxPriorityFeePerGas

The maximum priority fee per gas (EIP-1559).

[JsonProperty("maxPriorityFeePerGas", NullValueHandling = NullValueHandling.Ignore)]
public string MaxPriorityFeePerGas { get; set; }

Property Value

string

To

The address to which the transaction is sent.

[JsonProperty("to")]
public string To { get; set; }

Property Value

string

Type

The type of the transaction (e.g., "eip1559").

[JsonProperty("type")]
public string Type { get; set; }

Property Value

string

Value

The value (amount) to be sent in the transaction.

[JsonProperty("value", NullValueHandling = NullValueHandling.Ignore)]
public string Value { get; set; }

Property Value

string