Skip to main content
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.

Default Wallets in Mini Apps

Mini Apps launched within the Base App are automatically connected to the user’s Base Account, eliminating wallet connection flows and enabling instant onchain interactions. This zero-friction approach means users can immediately swap, send, and transact without any wallet setup, maintaining a familiar experience with their existing Base Account and assets.

For Mini App Development

1

Detect Base Account Capabilities

Base Accounts offer enhanced features that traditional wallets don’t support.
  • Use wallet_getCapabilities to check for atomicBatch, paymasterService, and auxiliaryFunds
  • Adapt your UI to show streamlined workflows for Base Account users
  • Provide fallback experiences for traditional wallets
Test with both Base Accounts and traditional wallets to ensure your capability detection works correctly.
Learn More: Base Account Capabilities Overview
2

Implement Sponsored Gas Transactions

Enable sponsored gas transactions where your Mini App pays gas fees for users.
  • Check for paymasterService capability before offering gas-free transactions
  • Use the capabilities parameter in writeContracts to enable sponsored gas
  • Handle cases where paymaster service is unavailable
Verify your Mini App works with Base Accounts that have zero ETH balance.
Learn More: Paymaster Service
3

Optimize Transaction Patterns

Base Accounts can batch multiple operations into single transactions.
  • Use atomicBatch capability to group related transactions
  • Implement wallet_sendCalls for complex workflows
  • Show one confirmation instead of multiple prompts
Consider transaction batching for multi-step operations like approve + transfer + mint.
Learn More: Batch Transactions Guide

Base Account Benefits for Mini Apps

Implementation Examples

Capability Detection

Capability-Based UI

Additional Resources

For detailed implementation of Base Account features:

User Authentication

Authenticate Users Guide

Base Pay Guide

Base Pay Guide

Sign and Verify Signatures

Sign and Verify Typed Data Guide