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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to pm_getPaymasterStubData
params
array
length between 4 and 4

Parameters for requesting paymaster stub data. This is an array of positional parameters:

  1. userOperation (object): The user operation details.
  2. entryPoint (string): The entry point address.
  3. chainId (string): The chain ID.
  4. context (object, optional): Contains policyId.
params
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json