alchemyGasManagerMiddleware
Paymaster middleware factory that uses Alchemy’s Gas Manager for sponsoring transactions. Adheres to the ERC-7677 standardized communication protocol.
Import
Usage
Parameters
policyId
string | string[]
- The policyId (or list of policyIds) for Alchemy’s gas manager
policyToken
PolicyToken | undefined
- The policy token configuration
Returns
Pick<ClientMiddlewareConfig, "dummyPaymasterAndData" | "paymasterAndData">
Partial client middleware configuration containing dummyPaymasterAndData
and paymasterAndData