Transactions (WIP)

zkSync transactions is quite similar to the Web3 based transactions.
Transactions are defined in the package: zksync2.module.request_type

For sending and signing transactions it's necessary to sign and encode it in EIP712 structure.
The EIP712 transaction type can be found in package: zksync2.transaction.transaction712

To convert ordinary transaction to EIP712 type there are defined helper classes:

  • TxFunctionCall : Deploys the contract as a signed transaction.
  • TxCreateContract :
  • TxCreate2Contract :

TxFunctionCall

TxCreateContract

TxCreate2Contract