The Mee client instance used for API interactions
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 generating the quote
Promise resolving to the execution payload containing transaction details
const hash = await execute(client, {
chainId: "1", // Ethereum mainnet
walletProvider: "metamask",
instructions: [{
to: "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
data: "0x...", // Transaction data
value: "0" // Amount in wei
}],
gasToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" // Optional: USDC address
});
Will throw an error if any of the three steps (get, sign, or execute) fail
Executes a quote by performing a three-step process:
This is a convenience function that combines all three steps into a single operation.