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 signing the quote
Promise resolving to ExecuteSignedQuotePayload containing:
const result = await executeQuote(client, {
quote: {
id: "quote_123",
chainId: "1",
instructions: [{
to: "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
data: "0x...",
value: "0"
}],
gasToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
expiresAt: "2024-03-21T15:00:00Z"
}
});
// result: { hash: "0x...", chainId: "1", status: "pending" }
Will throw an error if either the signing or execution step fails
Executes a quote by signing it and then executing the signed quote. This is a two-step process that: