Skip to content
Alchemy Logo

pm_getPaymasterData

POST
/{apiKey}
CUs1000Throughput CUs100

Returns values to be used in paymaster-related fields of a signed userOperation. These values are not stubs and will be included in a signed userOperation as part of an eth_sendUserOperation call.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectrequired

Partial UserOperation object (either v0.6, v0.7, or v0.8, missing signature and paymasterData).

stringformat: "^0x[0-9a-fA-F]*$"required

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.

stringformat: "^0x[0-9a-fA-F]*$"required

The chain ID of the network the userOperation will be submitted on.

objectrequired

An object containing context. Must include a Gas Manager Policy ID and may include webhookData.

Responses

200

The response depends on the EntryPoint version used in the request.

Was this page helpful?