Skip to main content

toMultichainNexusAccount

Creates a multichain Nexus smart account that can operate across multiple chains with the same address.

Parameters

ChainConfiguration

Returns

MultichainSmartAccount

Example

EIP-7702 Mode

For embedded wallets, set accountAddress to the EOA address:

MultichainSmartAccount Methods

addressOn

Get the account address on a specific chain.
Both calls return the same address. The strict flag is a safety check that throws an error if the requested chain was not defined in your chainConfigurations, helping catch configuration mistakes early.

Example


buildComposable

Build a composable instruction with support for runtime injection.
See Instructions for full documentation.

build

Build a simple instruction without composability features.
See Instructions for full documentation.

buildActionPolicy

Build a policy for Smart Session actions (sudo, universal, timeframe, usageLimit, spendingLimits).
See Smart Sessions – Policies for full documentation and examples.

buildSessionAction

Build session actions (transfer, transferFrom, approve, custom, or batch) to use with Smart Sessions.
See Smart Sessions – Actions for full documentation and examples.

deployments

Access individual chain deployments.

toNexusAccount

Creates a single-chain Nexus account. Use for bundler-based flows without MEE.

Parameters

Example