Skip to main content
The /v1/mee/upgrade endpoint generates an upgrade quote for Nexus accounts running v2.1.0 implementation. Execute the returned quote via /v1/execute to upgrade the account to v2.2.1 while preserving the original address.

Endpoint

When to Use

Use this endpoint only for users with existing v2.1.0 deployments that need upgrading. New users automatically get v2.2.1 accounts.
For legacy EOA (Fusion) mode users, upgrade is optional. In EOA mode, Nexus acts as a pass-through only, so there are typically no funds remaining in the old Nexus account.You have two options:
  1. Rescue dust (optional): If users have small residual funds in their old Nexus and you want to help them recover these, build a separate rescue flow that uses address override to upgrade the old Nexus and sweep funds back to their EOA. After rescue, users should proceed with the default v2.2.1 account.
  2. Ignore dust: Simply use the normal flow without any special handling—it will automatically default to the latest v2.2.1 Nexus.
The upgrade flow is:
  1. Check account status via /v1/mee/orchestrator to identify accounts needing upgrade
  2. Generate an upgrade quote via this endpoint
  3. Sign and execute the quote via /v1/execute
  4. Use the legacy address with accountAddress parameter in future /v1/quote requests

Request Structure

Request Body

The eoa-7702 mode is not supported for upgrades. Use eoa or smart-account mode instead.
Signature Format: Upgrade transactions use personal message signing (eth_sign), not EIP-712 typed data. This is because the upgrade operates on v2.1.0 accounts which use the legacy signing format. After upgrading, future transactions will use EIP-712 typed data.

Fee Token Object

Example Request

Response Structure

Success Response (200)

The response follows the standard quote format with an additional upgradeDetails field:

Response Fields

Upgrade Details Object

Error Responses

400 Bad Request

No v2.1.0 deployments found that need upgrading on specified chains:
Solution: Check the account status via /v1/mee/orchestrator first to confirm upgrade is needed.

Complete Upgrade Flow

Here’s the complete flow for upgrading legacy accounts:

After Upgrade

Once the upgrade is complete:
  1. Store the upgraded addresses - Save upgradedAddresses for future use, or query the /v1/mee/orchestrator endpoint anytime to retrieve this info
  2. Use accountAddress parameter - Pass the legacy address in /v1/quote requests
The eoa-7702 mode is not supported for upgrades yet and will be supported in the future. Use eoa or smart-account mode instead.

Frequently Asked Questions

Yes. Pass multiple chain IDs in the chainIds array:
All upgrades will be batched into a single supertransaction.
Currently, only upgrading from v2.1.0 to v2.2.1 is supported:
  • v2.1.0 - Legacy version (source)
  • v2.2.1 - Current version (target)
No. Once upgraded to v2.2.1, accounts cannot be downgraded. However, this is generally not needed as v2.2.1 is backward compatible.

Next Steps