zkSync transactions is quite similar to the Web3 based transactions.
Transactions are defined in the package:
For sending and signing transactions it's necessary to sign and encode it in
The EIP712 transaction type can be found in package:
To convert ordinary transaction to
EIP712 type there are defined helper classes:
- TxFunctionCall : Deploys the contract as a signed transaction.
- TxCreateContract :
- TxCreate2Contract :