mode: 'smart-account' for users with Biconomy Nexus accounts or other ERC-4337 smart accounts. This is the simplest mode with native gas abstraction.
How Smart Account Mode Works
Smart accounts have built-in gas abstraction. Users always sign just once, regardless of how complex the operation is.1
Build your request
Define operations in
composeFlows—no fundingTokens needed2
Get quote
API returns a single payload to sign
3
User signs once
Always exactly one signature
4
MEE executes
Biconomy handles everything across all chains
Basic Request
fundingTokens required—the smart account already holds the tokens.
Required Parameters
Gas Options
- Sponsored (Gasless)
- User Pays in Token
Omit
feeToken to use sponsorship—you pay for user’s gas:Requires an API key with sponsorship enabled. Get one at dashboard.biconomy.io
Quote Response
Smart account mode always returnsquoteType: 'simple':
Signing the Payload
Smart account mode uses EIP-712 typed data signing:Complete Example
Cross-Chain Gas Payment
Smart accounts can pay for gas on any chain using tokens from any other chain:No Withdrawal Needed
Unlike EOA mode, smart account funds stay in the smart account after operations—which is usually what you want. Users can:- Continue using funds for more operations
- Withdraw manually when needed
- Access via any dApp that supports smart accounts
When to Use Smart Account Mode
Best For
- Apps with embedded smart accounts
- Users who’ve deployed Nexus accounts
- Maximum gas abstraction flexibility
- Cross-chain gas payment
Not For
- Users with only MetaMask/Rabby
- One-time users (account deployment overhead)
- Apps that don’t manage accounts
Next Steps
Sign Payload
Signing details
Execute
Submit and track