Skip to main content
GET
/
proxy
/
account-abstraction
/
operations
/
{operation_hash_param}
Get a user operation by hash
curl --request GET \
  --url 'https://api.blockscout.com/{chain_id}/api/v2/proxy/account-abstraction/operations/{operation_hash_param}?apikey='
{
  "aggregator_signature": "<string>",
  "bundler": {
    "ens_domain_name": "<string>",
    "hash": "<string>",
    "implementations": [
      {
        "address_hash": "<string>",
        "name": "<string>"
      }
    ],
    "is_contract": true,
    "is_scam": true,
    "is_verified": true,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<string>",
          "ordinal": 123,
          "slug": "<string>",
          "tagType": "<string>"
        }
      ]
    },
    "name": "<string>",
    "proxy_type": "eip1167",
    "reputation": "ok",
    "private_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "public_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "watchlist_names": [
      {
        "display_name": "<string>",
        "label": "<string>"
      }
    ]
  },
  "block_number": "<string>",
  "entry_point": {
    "ens_domain_name": "<string>",
    "hash": "<string>",
    "implementations": [
      {
        "address_hash": "<string>",
        "name": "<string>"
      }
    ],
    "is_contract": true,
    "is_scam": true,
    "is_verified": true,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<string>",
          "ordinal": 123,
          "slug": "<string>",
          "tagType": "<string>"
        }
      ]
    },
    "name": "<string>",
    "proxy_type": "eip1167",
    "reputation": "ok",
    "private_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "public_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "watchlist_names": [
      {
        "display_name": "<string>",
        "label": "<string>"
      }
    ]
  },
  "user_logs_count": 123,
  "paymaster": {
    "ens_domain_name": "<string>",
    "hash": "<string>",
    "implementations": [
      {
        "address_hash": "<string>",
        "name": "<string>"
      }
    ],
    "is_contract": true,
    "is_scam": true,
    "is_verified": true,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<string>",
          "ordinal": 123,
          "slug": "<string>",
          "tagType": "<string>"
        }
      ]
    },
    "name": "<string>",
    "proxy_type": "eip1167",
    "reputation": "ok",
    "private_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "public_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "watchlist_names": [
      {
        "display_name": "<string>",
        "label": "<string>"
      }
    ]
  },
  "user_logs_start_index": 123,
  "nonce": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "consensus": true,
  "call_gas_limit": "<string>",
  "factory": {
    "ens_domain_name": "<string>",
    "hash": "<string>",
    "implementations": [
      {
        "address_hash": "<string>",
        "name": "<string>"
      }
    ],
    "is_contract": true,
    "is_scam": true,
    "is_verified": true,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<string>",
          "ordinal": 123,
          "slug": "<string>",
          "tagType": "<string>"
        }
      ]
    },
    "name": "<string>",
    "proxy_type": "eip1167",
    "reputation": "ok",
    "private_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "public_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "watchlist_names": [
      {
        "display_name": "<string>",
        "label": "<string>"
      }
    ]
  },
  "gas_price": "<string>",
  "verification_gas_limit": "<string>",
  "sender": {
    "ens_domain_name": "<string>",
    "hash": "<string>",
    "implementations": [
      {
        "address_hash": "<string>",
        "name": "<string>"
      }
    ],
    "is_contract": true,
    "is_scam": true,
    "is_verified": true,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<string>",
          "ordinal": 123,
          "slug": "<string>",
          "tagType": "<string>"
        }
      ]
    },
    "name": "<string>",
    "proxy_type": "eip1167",
    "reputation": "ok",
    "private_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "public_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "watchlist_names": [
      {
        "display_name": "<string>",
        "label": "<string>"
      }
    ]
  },
  "execute_call_data": "<string>",
  "fee": "<string>",
  "status": true,
  "execute_target": {
    "ens_domain_name": "<string>",
    "hash": "<string>",
    "implementations": [
      {
        "address_hash": "<string>",
        "name": "<string>"
      }
    ],
    "is_contract": true,
    "is_scam": true,
    "is_verified": true,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<string>",
          "ordinal": 123,
          "slug": "<string>",
          "tagType": "<string>"
        }
      ]
    },
    "name": "<string>",
    "proxy_type": "eip1167",
    "reputation": "ok",
    "private_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "public_tags": [
      {
        "address_hash": "<string>",
        "display_name": "<string>",
        "label": "<string>"
      }
    ],
    "watchlist_names": [
      {
        "display_name": "<string>",
        "label": "<string>"
      }
    ]
  },
  "gas_used": "<string>",
  "signature": "<string>",
  "entry_point_version": "v0.6",
  "call_data": "<string>",
  "aggregator": "<string>",
  "max_priority_fee_per_gas": "<string>",
  "index": 123,
  "block_hash": "<string>",
  "sponsor_type": "wallet_deposit",
  "revert_reason": "<string>",
  "gas": "<string>",
  "max_fee_per_gas": "<string>",
  "hash": "<string>",
  "decoded_execute_call_data": {
    "method_call": "<string>",
    "method_id": "<string>",
    "parameters": [
      {
        "name": "<string>",
        "type": "<string>",
        "value": {}
      }
    ]
  },
  "bundle_index": 123,
  "decoded_call_data": {
    "method_call": "<string>",
    "method_id": "<string>",
    "parameters": [
      {
        "name": "<string>",
        "type": "<string>",
        "value": {}
      }
    ]
  },
  "pre_verification_gas": "<string>",
  "raw": {
    "call_data": "<string>",
    "call_gas_limit": "<string>",
    "init_code": "<string>",
    "max_fee_per_gas": "<string>",
    "max_priority_fee_per_gas": "<string>",
    "nonce": "<string>",
    "paymaster_and_data": "<string>",
    "pre_verification_gas": "<string>",
    "sender": "<string>",
    "signature": "<string>",
    "verification_gas_limit": "<string>"
  },
  "transaction_hash": "<string>"
}

Authorizations

apikey
string
query
required

API key for authentication. Required for all Pro API endpoints. Obtain your API key at https://dev.blockscout.com/

Path Parameters

operation_hash_param
string
required

User operation hash in the path

Pattern: ^0x([A-Fa-f0-9]{64})$

Query Parameters

apikey
string
required

API key for rate limiting or for sensitive endpoints

key
string

Secret key for getting access to restricted resources

Response

User operation

UserOperation struct.

aggregator_signature
string | null
required
Pattern: ^0x([A-Fa-f0-9]*)$
bundler
Address · object
required

Address

block_number
string
required
Pattern: ^-?([1-9][0-9]*|0)$
entry_point
Address · object
required

Address

user_logs_count
integer
required
paymaster
AddressNullable · object
required

AddressNullable

user_logs_start_index
integer
required
nonce
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$
timestamp
string<date-time> | null
required
consensus
boolean | null
required
call_gas_limit
string
required
Pattern: ^-?([1-9][0-9]*|0)$
factory
AddressNullable · object
required

AddressNullable

gas_price
string
required
Pattern: ^-?([1-9][0-9]*|0)$
verification_gas_limit
string
required
Pattern: ^-?([1-9][0-9]*|0)$
sender
Address · object
required

Address

execute_call_data
string | null
required
Pattern: ^0x([A-Fa-f0-9]*)$
fee
string
required
Pattern: ^-?([1-9][0-9]*|0)$
status
boolean
required
execute_target
AddressNullable · object
required

AddressNullable

gas_used
string
required
Pattern: ^-?([1-9][0-9]*|0)$
signature
string
required
Pattern: ^0x([A-Fa-f0-9]*)$
entry_point_version
enum<string>
required
Available options:
v0.6,
v0.7,
v0.8,
v0.9
call_data
string
required
Pattern: ^0x([A-Fa-f0-9]*)$
aggregator
string | null
required
Pattern: ^0x([A-Fa-f0-9]{40})$
max_priority_fee_per_gas
string
required
Pattern: ^-?([1-9][0-9]*|0)$
index
integer
required
block_hash
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$
sponsor_type
enum<string>
required
Available options:
wallet_deposit,
wallet_balance,
paymaster_sponsor,
paymaster_hybrid
revert_reason
string | null
required
Pattern: ^0x([A-Fa-f0-9]*)$
gas
string
required
Pattern: ^-?([1-9][0-9]*|0)$
max_fee_per_gas
string
required
Pattern: ^-?([1-9][0-9]*|0)$
hash
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$
decoded_execute_call_data
DecodedInput · object
required
bundle_index
integer
required
decoded_call_data
DecodedInput · object
required
pre_verification_gas
string
required
Pattern: ^-?([1-9][0-9]*|0)$
raw
object
required

Raw user operation data.

transaction_hash
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$