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 permit quote
Promise resolving to the quote payload with permit signature
const signedPermitQuote = await signPermitQuote(meeClient, {
fusionQuote: {
quote: quotePayload,
trigger: {
tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
chainId: 1,
amount: 1000000n // 1 USDC
}
},
account: smartAccount // Optional
});
Signs a permit quote using EIP-2612 permit signatures. This enables gasless approvals for ERC20 tokens that implement the permit extension.