createMeeClient
Creates a client connected to the Modular Execution Environment for gasless, cross-chain execution.Parameters
Returns
MeeClient
Example
MeeClient Methods
getQuote
Get a quote for executing instructions. Returns cost estimates and payloads to sign.Parameters
*Not required if
sponsorship: true
Returns
Example
getFusionQuote
Get a quote for Fusion mode (external wallets like MetaMask).Parameters
Example
executeQuote
Execute a quote by signing and submitting it.Parameters
Returns
executeFusionQuote
Execute a Fusion quote.Parameters
Session quote flow
Use these methods for the Smart Sessions flow: prepare or use a permission by getting a session quote, then sign and execute.getSessionQuote
Get a quote for preparing (deploy, fund, install module, enable session) or using a session.Parameters
*Not required if
sponsorship: true
Returns
{ quoteType, quote, sessionDetails? } or undefined when there is nothing to do (e.g. no enable, no instructions).
See Smart Sessions for full parameter details and examples.
signSessionQuote
Sign the payload returned fromgetSessionQuote. Dispatches by quoteType to the appropriate signer (e.g. signQuote for simple, signFusionQuote for fusion).
Parameters
Typically you use
executeSessionQuote, which signs and executes in one step.
executeSessionQuote
Sign and execute a session quote. Handles both simple and fusion quote types and trigger execution.Parameters
See Smart Sessions for full parameter details and examples.