What is Base Account?
Base Account is a Smart Wallet-backed account that provides:- Universal sign-on – one passkey works across every Base-enabled app
- One-tap USDC payments – low-friction payments built into the account layer
- Gasless transactions – apps can sponsor user transaction fees
- Batch transactions – combine multiple operations into a single confirmation
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.
Implementation
1
Set Up Wagmi Provider
Configure Wagmi with the Farcaster Mini App connector and Base Account connector to enable Base Account features in your Mini App:
wagmi.ts
The
farcasterMiniApp() connector automatically connects to the user’s Base Account when the Mini App launches within the Base App.2
Send Batch Transactions with Capabilities
Use Wagmi’s
sendCalls to send batched transactions. First, check if the wallet supports paymaster capabilities using getCapabilities, then conditionally include paymaster settings in your transaction:components/BatchTransaction.tsx
3
Explore Additional Methods and Capabilities
Getting the provider allows you to use the Base Account SDK to interact with the user’s Base Account.
Follow the Base Account guides to use these features.Once you have the provider, you can call Base Account RPC methods. See the full RPC methods reference for complete details.The next section lists the methods and capabilities that are not supported in Mini Apps yet.
Unsupported Methods and Capabilities
The following methods and capabilities are not yet supported in Mini Apps but will be added soon:| Feature | Method/Capability |
|---|---|
| Sign in with Base | wallet_connect |
| Sub accounts | wallet_getSubAccounts, wallet_addSubAccount |
| Spend permissions | coinbase_fetchPermissions, coinbase_fetchPermission |
| Profiles | datacallback |
| Signing typed data | signTypedData |
| Signing messages | wallet_sign |