erc4337
Classes
<dl> <dt><a href="#UserOperation">UserOperation</a></dt> <dd><p>UserOperation struct (simplified) This matches the EIP-4337 UserOperation structure</p> </dd> <dt><a href="#ERC4337Service">ERC4337Service</a></dt> <dd><p>ERC-4337 Gasless Service</p> </dd> </dl>
Constants
<dl> <dt><a href="#PAYMASTER_CONFIG">PAYMASTER_CONFIG</a></dt> <dd><p>Paymaster configuration</p> </dd> </dl>
Functions
<dl> <dt><a href="#estimateGas">estimateGas()</a></dt> <dd><p>Gas estimation helper</p> </dd> <dt><a href="#createERC4337Middleware">createERC4337Middleware()</a></dt> <dd><p>Create ERC-4337 middleware for Express This enables gasless transactions on specific routes</p> </dd> <dt><a href="#createTokenPaymasterData">createTokenPaymasterData()</a></dt> <dd><p>Helper: Create token paymaster data</p> </dd> </dl>
<a name="PAYMASTER_CONFIG"></a>
PAYMASTER_CONFIG
Paymaster configuration
Kind: global constant
<a name="estimateGas"></a>
estimateGas()
Gas estimation helper
Kind: global function
<a name="createERC4337Middleware"></a>
createERC4337Middleware()
Create ERC-4337 middleware for Express This enables gasless transactions on specific routes
Kind: global function
<a name="createTokenPaymasterData"></a>
createTokenPaymasterData()
Helper: Create token paymaster data
Kind: global function