5/5
## Understanding Type 113 Transactions: An Introduction to Account Abstraction We are now bridging the gap between our previous discussions on EIP-712 signatures and standard transaction types to introduce one of the most powerful paradigms in Web3: **Account Abstraction**. While this lesson is technically focused on "Type 113 Transactions"—the specific identifier for Account Abstraction transactions on ZKsync—our primary goal is to understand the high-level architecture and the significant benefits this brings to the blockchain ecosystem. ### What is Account Abstraction? At its core, Account Abstraction (AA) is the shift from holding user assets in **Externally Owned Accounts (EOAs)** to holding them in **smart contracts**. In a traditional setup, users utilize standard wallets (like a basic MetaMask account) controlled strictly by a public-private key pair. With Account Abstraction, the goal is to decouple the relationship between the key pair and the account, effectively making user accounts **fully programmable smart contracts.** ### The Architecture: Ethereum vs. ZKsync Era To understand why Type 113 transactions are revolutionary, we must look at how accounts currently function on Ethereum compared to ZKsync Era. #### Ethereum Account Types On the Ethereum mainnet, the network distinguishes between two distinct types of accounts: 1. **Externally Owned Accounts (EOAs):** * These are controlled by a private key. * **Constraint:** A user must initiate and sign every transaction manually. * **Constraint:** They have limited functionality; you cannot program arbitrary logic (rules) directly into an EOA. 2. **Contract Accounts:** * These are smart contracts deployed to the network. * **Benefit:** They can contain arbitrary logic and code. * **Constraint:** They cannot initiate transactions on their own; they must be triggered by an EOA. #### ZKsync Native Account Abstraction ZKsync Era fundamentally changes this dynamic by integrating Account Abstraction **natively** into the protocol. * **Unified Account Structure:** On ZKsync Era, **all accounts are smart contract accounts.** * **Hybrid Power:** These accounts possess the best of both worlds. They have the programmable logic of a smart contract but retain the ability to initiate transactions just like an EOA. ### Use Cases and Benefits Because ZKsync accounts are programmable smart contracts, developers can implement features that are difficult or impossible to achieve with standard Ethereum EOAs. This capability opens the door to a superior user experience (UX) and enhanced security: * **Arbitrary Logic:** Developers can code specific behavioral rules directly into the account. * **Native Multi-Sig:** You can require multiple signatures to approve a transaction directly within the account's logic, without needing a separate multi-sig wallet contract. * **Paymasters (Gas Abstraction):** This allows third parties or protocols to subsidize gas fees for users. A user could potentially interact with a dApp without holding ETH for gas. * **Spending Limits:** Accounts can be programmed with security parameters, such as daily or weekly spending limits, preventing total wallet draining in the event of a compromise. * **Custom Signature Schemes:** The account is not restricted to standard Ethereum Elliptic Curve cryptography. It can be programmed to accept various signature verification methods (e.g., FaceID or biometric data converted to keys). ### Summary Type 113 transactions represent the vehicle for this programmable logic on ZKsync. While the concept of Account Abstraction introduces significant complexity, it is the foundation for the next generation of Web3 usability. Do not worry if the technical intricacies seem dense at this stage. This lesson serves as a theoretical framework. In upcoming modules, we will dive deeper into the code to see exactly how these programmable accounts are built and deployed.
We are now bridging the gap between our previous discussions on EIP-712 signatures and standard transaction types to introduce one of the most powerful paradigms in Web3: Account Abstraction.
While this lesson is technically focused on "Type 113 Transactions"—the specific identifier for Account Abstraction transactions on ZKsync—our primary goal is to understand the high-level architecture and the significant benefits this brings to the blockchain ecosystem.
At its core, Account Abstraction (AA) is the shift from holding user assets in Externally Owned Accounts (EOAs) to holding them in smart contracts.
In a traditional setup, users utilize standard wallets (like a basic MetaMask account) controlled strictly by a public-private key pair. With Account Abstraction, the goal is to decouple the relationship between the key pair and the account, effectively making user accounts fully programmable smart contracts.
To understand why Type 113 transactions are revolutionary, we must look at how accounts currently function on Ethereum compared to ZKsync Era.
On the Ethereum mainnet, the network distinguishes between two distinct types of accounts:
Externally Owned Accounts (EOAs):
These are controlled by a private key.
Constraint: A user must initiate and sign every transaction manually.
Constraint: They have limited functionality; you cannot program arbitrary logic (rules) directly into an EOA.
Contract Accounts:
These are smart contracts deployed to the network.
Benefit: They can contain arbitrary logic and code.
Constraint: They cannot initiate transactions on their own; they must be triggered by an EOA.
ZKsync Era fundamentally changes this dynamic by integrating Account Abstraction natively into the protocol.
Unified Account Structure: On ZKsync Era, all accounts are smart contract accounts.
Hybrid Power: These accounts possess the best of both worlds. They have the programmable logic of a smart contract but retain the ability to initiate transactions just like an EOA.
Because ZKsync accounts are programmable smart contracts, developers can implement features that are difficult or impossible to achieve with standard Ethereum EOAs. This capability opens the door to a superior user experience (UX) and enhanced security:
Arbitrary Logic: Developers can code specific behavioral rules directly into the account.
Native Multi-Sig: You can require multiple signatures to approve a transaction directly within the account's logic, without needing a separate multi-sig wallet contract.
Paymasters (Gas Abstraction): This allows third parties or protocols to subsidize gas fees for users. A user could potentially interact with a dApp without holding ETH for gas.
Spending Limits: Accounts can be programmed with security parameters, such as daily or weekly spending limits, preventing total wallet draining in the event of a compromise.
Custom Signature Schemes: The account is not restricted to standard Ethereum Elliptic Curve cryptography. It can be programmed to accept various signature verification methods (e.g., FaceID or biometric data converted to keys).
Type 113 transactions represent the vehicle for this programmable logic on ZKsync. While the concept of Account Abstraction introduces significant complexity, it is the foundation for the next generation of Web3 usability.
Do not worry if the technical intricacies seem dense at this stage. This lesson serves as a theoretical framework. In upcoming modules, we will dive deeper into the code to see exactly how these programmable accounts are built and deployed.
A foundational introduction to Understanding Type 113 Transactions - Explore the architecture of native Account Abstraction on ZKsync Era and how it differs from Ethereum. Understand the benefits of programmable smart contract accounts, including Paymasters, multi-sig capabilities, and enhanced security.
Previous lesson
Previous
Next lesson
Next
Course Overview
About the course
Advanced smart contract development
How to develop a stablecoin
How to develop a DeFi protocol
How to develop a DAO
Advanced smart contracts testing
Fuzz testing
Manual verification
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Security researcher
$49,999 - $120,000 (avg. salary)
Web3 engineer, educator, and Cyfrin co-founder. Patrick's smart contract development and security courses have helped hundreds of thousands of engineers kickstarting their careers into web3.
Guest lecturers:
Last updated on February 17, 2026
Duration: 37min
Duration: 3h 06min
Duration: 5h 03min
Duration: 6h 22min
Duration: 2h 48min
Duration: 1h 24min
Duration: 4h 28min
Duration: 1h 20min
Duration: 1h 11min
Course Overview
About the course
Advanced smart contract development
How to develop a stablecoin
How to develop a DeFi protocol
How to develop a DAO
Advanced smart contracts testing
Fuzz testing
Manual verification
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
Security researcher
$49,999 - $120,000 (avg. salary)
Web3 engineer, educator, and Cyfrin co-founder. Patrick's smart contract development and security courses have helped hundreds of thousands of engineers kickstarting their careers into web3.
Guest lecturers:
Last updated on February 17, 2026