Table of Contents

Struct ZkSyncOptions

Namespace
Thirdweb
Assembly
Thirdweb.dll

Represents the zkSync options for a transaction.

public struct ZkSyncOptions
Inherited Members

Constructors

ZkSyncOptions(string, string, BigInteger?, List<byte[]>)

Initializes a new instance of the ZkSyncOptions struct.

public ZkSyncOptions(string paymaster = null, string paymasterInput = null, BigInteger? gasPerPubdataByteLimit = null, List<byte[]> factoryDeps = null)

Parameters

paymaster string

The paymaster.

paymasterInput string

The paymaster input data.

gasPerPubdataByteLimit BigInteger?

The gas limit per pubdata byte.

factoryDeps List<byte[]>

The factory dependencies.

Properties

FactoryDeps

Gets or sets the factory dependencies.

[JsonProperty(PropertyName = "factoryDeps")]
public List<byte[]> FactoryDeps { readonly get; set; }

Property Value

List<byte[]>

GasPerPubdataByteLimit

Gets or sets the gas limit per pubdata byte.

[JsonProperty(PropertyName = "gasPerPubdataByteLimit")]
public BigInteger? GasPerPubdataByteLimit { readonly get; set; }

Property Value

BigInteger?

Paymaster

Gets or sets the paymaster.

[JsonProperty(PropertyName = "paymaster")]
public BigInteger Paymaster { readonly get; set; }

Property Value

BigInteger

PaymasterInput

Gets or sets the paymaster input data.

[JsonProperty(PropertyName = "paymasterInput")]
public byte[] PaymasterInput { readonly get; set; }

Property Value

byte[]