Skip to main content
Use 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 needed
2

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

That’s it! No fundingTokens required—the smart account already holds the tokens.

Required Parameters

Gas Options

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 returns quoteType: 'simple':

Signing the Payload

Smart account mode uses EIP-712 typed data signing:
EIP-712 shows users a human-readable breakdown of what they’re signing—much better UX than raw hex messages.

Complete Example

Cross-Chain Gas Payment

Smart accounts can pay for gas on any chain using tokens from any other chain:
User has USDC on Base, but the transaction executes on Arbitrum. Biconomy handles the cross-chain gas settlement.

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