UNPKG

@alchemy/aa-core

Version:

viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts

8 lines 274 B
export const defaultPaymasterAndData = async (struct, { account }) => { const entryPoint = account.getEntryPoint(); if (entryPoint.version === "0.6.0") { struct.paymasterAndData = "0x"; } return struct; }; //# sourceMappingURL=paymasterAndData.js.map