The Mee client instance
Extends the client with additional functionality
Extended client with both base and new functionality
Function that adds new properties/methods to the base client
Makes HTTP requests to the Http node
Parameters for the fusion quote execution
Promise resolving to the transaction hash
const result = await executeFusionQuote(meeClient, {
fusionQuote: {
quote: quotePayload,
trigger: {
tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", // USDC
chainId: 1,
amount: "1000000" // 1 USDC
}
},
account: smartAccount // Optional
});
// Returns:
// {
// hash: "0x123..." // Supertransaction hash
// }
Will throw an error if:
Convenience method that combines signFusionQuote and executeSignedQuote into a single operation. This function automatically handles the signing process (either permit or on-chain) and executes the transaction in one step.