pm_getPaymasterStubData
Returns stub values to be used in paymaster-related fields of an unsigned userOperation for gas estimation.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
objectrequired
Partial UserOperation object (either v0.6, v0.7, or v0.8, missing signature and paymasterData).
string
format: "^0x[0-9a-fA-F]*$"requiredThe 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.
string
format: "^0x[0-9a-fA-F]*$"requiredThe chain ID of the network the userOperation will be submitted on.
objectrequired
An object containing context. Must include a policyId and may include webhookData.
Responses
200
The response depends on the EntryPoint version used in the request.
Was this page helpful?