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 signing the fusion quote
Promise resolving to the signed quote payload
const signedQuote = await signFusionQuote(meeClient, {
fusionQuote: {
quote: quotePayload,
trigger: {
tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", // USDC
chainId: 1,
amount: "1000000" // 1 USDC
}
},
account: smartAccount // Optional
});
Will throw an error if:
Signs a fusion quote by automatically selecting between permit and on-chain signing based on the payment token's capabilities. If the token supports ERC20Permit, it will use permit signing; otherwise, it will fall back to on-chain signing.