alchemy_requestPaymasterTokenQuote
Requests ERC20 fee quote for a UserOperation
. Optionally accepts fee parameter overrides to be used in the UserOperation
.
Path parameters
Request
The EntryPoint address the request should be sent through. This MUST be one of the EntryPoints returned by the supportedEntryPoints
RPC call and match the version of the userOperation in the userOperation
field.
Dummy signature for the userOperation. This is useful for estimating gas costs. Check our FAQs to learn what a dummy signature is.
An object containing optional gas parameters, paymasterAndData
, and signature fields. It can be either a v0.6 or v0.7 userOperation but must match the version of the EntryPoint at the specified entryPoint
.
Erc20 context, required to enable users to pay gas with ERC-20 tokens.
Response
The response object may be one of two types: