@etherspot/remote-signer
Version:
Etherspot Permissioned Signer SDK - signs the UserOp with SessionKey and sends it to the Bundler
18 lines (17 loc) • 780 B
JavaScript
// src/sdk/base/PaymasterAPI.ts
var PaymasterAPI = class {
/**
* @param userOp a partially-filled UserOperation (without signature and paymasterData
* note that the "preVerificationGas" is incomplete: it can't account for the
* paymasterData value, which will only be returned by this method..
* @returns the value to put into the PaymasterData, undefined to leave it empty
*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async getPaymasterData(userOp) {
return { result: { paymaster: "0x", paymasterData: "0x", paymasterPostOpGasLimit: "0x", paymasterVerificationGasLimit: "0x", preVerificationGas: "0x", verificationGasLimit: "0x", callGasLimit: "0x" } };
}
};
export {
PaymasterAPI
};
//# sourceMappingURL=chunk-XE4EOBK2.mjs.map