alchemy_requestPaymasterAndData

Requests coverage for a UserOperation on EMV networks. Returns paymasterAndData if approved, errors if not.

🚧

This endpoint will be deprecated. Please use alchemy_requestGasAndPaymasterAndData

While you can use alchemy_requestPaymasterAndData to request a paymaster signature, it's important to note that this function requires gas fields to be part of the UserOperation passed as a parameter. These gas fields are influenced by the response of this endpoint, creating a circular dependency.

To simplify this process, we introduced alchemy_requestGasAndPaymasterAndData. This function both estimates gas and provides signed paymaster and paymasterData fields, therefore resolving the circular dependency.

Language
URL
Click Try It! to start a request and see the response here!
ReadMe