Table of Contents

Class ThirdwebTransactionInput

Namespace
Thirdweb
Assembly
Thirdweb.dll

Represents the input parameters for a Thirdweb transaction.

public class ThirdwebTransactionInput
Inheritance
ThirdwebTransactionInput
Inherited Members

Constructors

ThirdwebTransactionInput(BigInteger)

public ThirdwebTransactionInput(BigInteger chainId)

Parameters

chainId BigInteger

ThirdwebTransactionInput(BigInteger, string, string, BigInteger?, BigInteger?, BigInteger?, BigInteger?, string, BigInteger?, BigInteger?, ZkSyncOptions?)

public ThirdwebTransactionInput(BigInteger chainId, string from = null, string to = null, BigInteger? nonce = null, BigInteger? gas = null, BigInteger? gasPrice = null, BigInteger? value = null, string data = null, BigInteger? maxFeePerGas = null, BigInteger? maxPriorityFeePerGas = null, ZkSyncOptions? zkSync = null)

Parameters

chainId BigInteger
from string
to string
nonce BigInteger?
gas BigInteger?
gasPrice BigInteger?
value BigInteger?
data string
maxFeePerGas BigInteger?
maxPriorityFeePerGas BigInteger?
zkSync ZkSyncOptions?

Properties

Data

Gets or sets the data to be sent with the transaction.

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

Property Value

string

Gas

Gets or sets the gas limit for the transaction.

[JsonProperty(PropertyName = "gas")]
public HexBigInteger Gas { get; set; }

Property Value

HexBigInteger

GasPrice

Gets or sets the gas price for the transaction.

[JsonProperty(PropertyName = "gasPrice")]
public HexBigInteger GasPrice { get; set; }

Property Value

HexBigInteger

MaxFeePerGas

Gets or sets the maximum fee per gas for the transaction.

[JsonProperty(PropertyName = "maxFeePerGas")]
public HexBigInteger MaxFeePerGas { get; set; }

Property Value

HexBigInteger

MaxPriorityFeePerGas

Gets or sets the maximum priority fee per gas for the transaction.

[JsonProperty(PropertyName = "maxPriorityFeePerGas")]
public HexBigInteger MaxPriorityFeePerGas { get; set; }

Property Value

HexBigInteger

Nonce

Gets or sets the nonce of the transaction.

[JsonProperty(PropertyName = "nonce")]
public HexBigInteger Nonce { get; set; }

Property Value

HexBigInteger

To

Gets or sets the recipient address of the transaction.

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

Property Value

string

Value

Gets or sets the value to be transferred in the transaction.

[JsonProperty(PropertyName = "value")]
public HexBigInteger Value { get; set; }

Property Value

HexBigInteger

ZkSync

Gets or sets the zkSync options for the transaction.

[JsonProperty(PropertyName = "zkSyncOptions", NullValueHandling = NullValueHandling.Ignore)]
public ZkSyncOptions? ZkSync { get; set; }

Property Value

ZkSyncOptions?