Skip to main content
GET
/
blocks
/
{hashOrNumber}
/
useroperations
Get User Operations for a Block
curl --request GET \
  --url https://indexer.mainnet.incentiv.io/api/blocks/{hashOrNumber}/useroperations
[
  {
    "hash": "<string>",
    "sender": "<string>",
    "nonce": "<string>",
    "initCode": "<string>",
    "callData": "<string>",
    "callGasLimit": "<string>",
    "verificationGasLimit": "<string>",
    "preVerificationGas": "<string>",
    "maxFeePerGas": "<string>",
    "maxPriorityFeePerGas": "<string>",
    "paymaster": "<string>",
    "paymasterData": "<string>",
    "signature": "<string>",
    "status": "<string>"
  }
]

Path Parameters

hashOrNumber
string
required

The block hash or block number to retrieve user operations for.

Response

List of user operations in the block.

hash
string
required

Unique hash identifying the user operation.

sender
string
required

Address of the sender initiating the user operation.

nonce
string
required

Nonce value to ensure uniqueness of the user operation.

initCode
string
required

Initialization code for the user operation.

callData
string
required

Call data payload of the user operation.

callGasLimit
string
required

Gas limit for the call part of the user operation.

verificationGasLimit
string
required

Gas limit for the verification part of the user operation.

preVerificationGas
string
required

Gas paid before verification.

maxFeePerGas
string
required

Maximum fee per gas the sender is willing to pay.

maxPriorityFeePerGas
string
required

Maximum priority fee per gas.

paymaster
string
required

Address of the paymaster if any.

paymasterData
string
required

Additional data for the paymaster.

signature
string
required

Signature of the user operation.

status
string
required

Status of the user operation execution.