@biconomy/sdk
Version:
SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.
25 lines • 705 B
JavaScript
/**
* Executes a signed quote.
* @param client - The Mee client to use
* @param params - The parameters for executing the signed quote
* @returns The hash of the executed transaction
* @example
* const hash = await executeSignedFusionQuote(client, {
* signedFusionQuote: {
* ...
* }
* })
*/
export const executeSignedFusionQuote = async (client, params) => {
const { receipt, ...signedFusionQuote } = params.signedFusionQuote;
const { hash } = await client.request({
path: "v1/exec",
body: signedFusionQuote
});
return {
hash,
receipt
};
};
export default executeSignedFusionQuote;
//# sourceMappingURL=executeSignedFusionQuote.js.map