Skip to content
LogoLogo

MetaMask Smart Account

MetaMask Smart Accounts has three types of implementations, each offering unique features and use cases. See Hybrid smart account, Multisig smart account, and Stateless 7702 smart account to learn more about the implementations.

To implement MetaMask Smart Accounts, you can use the toMetaMaskSmartAccount function from the Smart Accounts Kit.

Install

Usage

import { 
  , 
  , 
} from "@metamask/smart-accounts-kit"
import {  } from './client.js'
import {  } from './owner.js'
 
const  = await ({ 
  , 
  : .Hybrid, 
  : [.address, [], [], []], 
  : "0x", 
  : { :  }, 
}) 

Returns

SmartAccount<MetaMaskSmartAccountImplementation<TImplementation>>

Parameters

See Parameters