Get Paymaster Data

This endpoint retrieves the paymaster data necessary for account abstraction. It returns a payload containing the paymasterData, a verification hash, and validity timestamps (mockValidUntil and mockValidAfter) that should be incorporated into user operations.

💡

Compute Unit Value: 15 (Fixed)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

string

The abbreviated chain name for queries or transactions.

string
required

On-chain wallet address.

string

Anti-replay parameter.

string

The initCode of the account. (needed if and only if the account is not yet on-chain and needs to be created)

string

Gas units to compensate the bundler for pre-verification overhead and calldata encoding, as an integer string (ERC-4337).

string

Maximum gas units for verifying the user operation (signature validation and paymaster logic), as an integer string (ERC-4337).

string

Maximum gas units for the overall user operation execution, as an integer string (ERC-4337).

string

Maximum gas units for the main execution call of the user operation, as an integer string (ERC-4337).

string

Encoded data for executing the primary function call or operation within the user's transaction.

string

Maximum priority fee (tip) per gas unit in wei to incentivize validators or bundlers, as an integer string (EIP-1559). Example: '1000000000' = 1 gwei.

string

Maximum total fee per gas unit in wei (base fee + priority fee), as an integer string (EIP-1559). Example: '20000000000' = 20 gwei.

string

Address of paymaster sponsoring the transaction, followed by extra data to send to the paymaster. (empty for self-sponsored transaction)

string
required

Address of the contract from where, gas is to be paid.

string
required

The UserOp is valid only after this time, to be sent in epoch time format.

string
required

The UserOp is valid only up to this time, to be sent in epoch time format.

Response

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