The Gas Manager API Endpoints allows you to sponsor gas fees for your users, removing the biggest barrier to entry.
Methods
Method | Description |
---|---|
alchemy_requestGasAndPaymasterAndData | Requests gas sponsorship for a UserOperation . If approved, returns:1. the paymasterAndData or paymaster and paymasterData depending on the EntryPoint version.2. gas parameters. |
alchemy_requestPaymasterAndData | Requests gas sponsorship for a UserOperation . If approved, returns:1. the paymasterAndData or paymaster and paymasterData depending on the EntryPoint version. |
pm_getPaymasterData | Returns values to be used in paymaster-related fields of a signed user operation. These are not stub values and will be included in a signed user operation as part of an eth_sendUserOperation call to a bundler. Similar to pm_getPaymasterStubData, accepts an unsigned user operation, entrypoint address, chain ID, and a context object. |
pm_getPaymasterStubData | Returns stub values to be used in paymaster-related fields of an unsigned user operation for gas estimation. Accepts an unsigned user operation, entrypoint address, chain ID, and a context object. Paymaster service providers can define fields that app developers should use in the context object. |