Gas Manager Coverage API Endpoints

The Gas Manager API Endpoints allows you to sponsor gas fees for your users, removing the biggest barrier to entry.

Methods

MethodDescription
alchemy_requestGasAndPaymasterAndDataRequests gas sponsorship for a UserOperation. If approved, returns:

1. the paymasterAndData or paymaster and paymasterData depending on the EntryPoint version.
2. gas parameters.
alchemy_requestPaymasterAndDataRequests gas sponsorship for a UserOperation. If approved, returns:

1. the paymasterAndData or paymaster and paymasterData depending on the EntryPoint version.
pm_getPaymasterDataReturns 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_getPaymasterStubDataReturns 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.