Module eip712

Source
Expand description

EIP-712 transaction type, specific to the ZKsync network.

Structs§

Eip712Meta
Represents the EIP-712 metadata for ZKsync transactions.
PaymasterParams
Represents the paymaster parameters for ZKsync Era transactions.
TxEip712
A ZKsync-native transaction type with additional fields. Besides additional fields, represents an EIP-1559 transaction.

Enums§

BytecodeHashError
Errors that can occur during bytecode hashing.

Functions§

hash_bytecode
The 32-byte hash of the bytecode of a zkSync contract is calculated in the following way: