pm_getPaymasterData
Returns values to be used in paymaster-related fields of a signed user operation. These values are not stubs and will be included in a signed user operation as part of an eth_sendUserOperation call. Accepts an unsigned user operation, an entrypoint address, a chain ID, and a context object.
Path parameters
Request
Partial UserOperation object (either v0.6 or v0.7, missing signature and paymasterData).
The entrypoint address the request should be sent through. Must be one of the entry points returned by the supportedEntryPoints RPC call.
The chain ID of the network the operation will be submitted on.
An object containing context. Must include a policyId and may include webhookData.
Response
The response object may be one of two types: - For entrypoint v0.6: an object with property paymasterAndData. - For entrypoint v0.7: an object with property paymasterData.