Constants

Git Source

EIP_712_TX_TYPE

The type id of ZKsync's EIP-712-signed transaction.

uint8 constant EIP_712_TX_TYPE = 0x71;

LEGACY_TX_TYPE

The type id of legacy transactions.

uint8 constant LEGACY_TX_TYPE = 0x0;

EIP_2930_TX_TYPE

The type id of legacy transactions.

uint8 constant EIP_2930_TX_TYPE = 0x01;

EIP_1559_TX_TYPE

The type id of EIP1559 transactions.

uint8 constant EIP_1559_TX_TYPE = 0x02;

L1_TO_L2_TX_TYPE

The type id of L1 to L2 transactions.

uint8 constant L1_TO_L2_TX_TYPE = 0xFF;