Learn how Base Accounts enhance Mini App user experience and what Mini App developers need to know to implement Base Account capabilities.
What you’ll learn
By the end of this guide, you’ll understand:
- How to handle wallet transactions effectively in Mini Apps, including leveraging enhanced Base Account capabilities when available.
Detect Base Account Capabilities
wallet_getCapabilities
to check for atomicBatch
, paymasterService
, and auxiliaryFunds
Implement Sponsored Gas Transactions
paymasterService
capability before offering gas-free transactionscapabilities
parameter in writeContracts
to enable sponsored gasOptimize Transaction Patterns
atomicBatch
capability to group related transactionswallet_sendCalls
for complex workflowsFeature | What It Does | Mini App Benefit |
---|---|---|
Atomic Batch | Combines multiple transactions into one | Multi-step workflows require only one user confirmation |
Paymaster Service | App pays gas fees, not user | Users can transact without owning ETH |
Passkey Authentication | Uses device biometrics instead of private keys | Faster, more secure user authentication |