interface zkSyncTxData {
    accessList?: null | AccessListUint8Array | AccessList;
    chainId?: Numbers;
    data?: Uint8ArrayLike;
    gasLimit?: Uint8Array | Numbers;
    gasPrice?: null;
    l1BatchNumber: null | number;
    l1BatchTxIndex: null | number;
    maxFeePerGas?: Uint8Array | Numbers;
    maxPriorityFeePerGas?: Uint8Array | Numbers;
    nonce?: Uint8Array | Numbers;
    r?: Uint8Array | Numbers;
    s?: Uint8Array | Numbers;
    to?: string | Uint8Array | Address;
    type?: Numbers;
    v?: Uint8Array | Numbers;
    value?: Uint8Array | Numbers;
}

Hierarchy

  • FeeMarketEIP1559TxData
    • zkSyncTxData

Properties

accessList?: null | AccessListUint8Array | AccessList

The access list which contains the addresses/storage slots which the transaction wishes to access

chainId?: Numbers

The transaction's chain ID

data?: Uint8ArrayLike

This will contain the data of the message or the init of a contract.

gasLimit?: Uint8Array | Numbers

The transaction's gas limit.

gasPrice?: null

The transaction's gas price, inherited from Transaction. This property is not used for EIP1559 transactions and should always be undefined for this specific transaction type.

l1BatchNumber: null | number

The batch number on the L1 network.

l1BatchTxIndex: null | number

The transaction index within the batch on the L1 network.

maxFeePerGas?: Uint8Array | Numbers

The maximum total fee

maxPriorityFeePerGas?: Uint8Array | Numbers

The maximum inclusion fee per gas (this fee is given to the miner)

nonce?: Uint8Array | Numbers

The transaction's nonce.

r?: Uint8Array | Numbers

EC signature parameter.

s?: Uint8Array | Numbers

EC signature parameter.

to?: string | Uint8Array | Address

The transaction's the address is sent to.

type?: Numbers

The transaction type

v?: Uint8Array | Numbers

EC recovery ID.

value?: Uint8Array | Numbers

The amount of Ether sent.