@biconomy/sdk
Version:
SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.
20 lines • 667 B
JavaScript
import { executeSignedQuote } from "./executeSignedQuote.js";
import { signQuote } from "./signQuote.js";
/**
* Executes a quote by signing it and then executing the signed quote.
* @param client - The Mee client to use
* @param params - The parameters for signing the quote
* @returns The hash of the executed transaction
* @example
* const hash = await executeQuote(client, {
* quote: {
* ...
* }
* })
*/
export const executeQuote = async (client, params) => {
const signedQuote = await signQuote(client, params);
return executeSignedQuote(client, { signedQuote });
};
export default executeQuote;
//# sourceMappingURL=executeQuote.js.map