# Blockscout — Get a user operation by hash

Get Blockscout user-operation details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as Set, and retrieve structured data including user-operation hash, associated bundler address, reported EntryPoint version, reported gas used, and decoded method call for wallet activity views, and operation debugging, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/blockscout/blockscout-get-a-user-operation-by-hash/21ab3204-a6dc-402a-a209-518094658bb5/
API ID: 21ab3204-a6dc-402a-a209-518094658bb5
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/proxy/account-abstraction/operations/{operation_hash_param}
Page update time: 2026-12-03T02:49:17.654Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:16.917Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout User Operation Details API

Supply chain\_id and operation\_hash\_param. The result combines the indexed operation, related account-abstraction participants, gas measures and available decoded calls. Preserve raw string values when mapping numeric fields.

## What You Can Build

- **Wallet activity views**: Show an operation with its associated participants.
- **Operation debugging**: Inspect gas fields and available decoded call context.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `hash` | User-operation hash |
| `block_number` | Block number associated with the operation |
| `bundler.hash` | Associated bundler address |
| `entry_point_version` | Reported EntryPoint version |
| `gas_used` | Reported gas used |
| `decoded_call_data.method_call` | Decoded method call when available |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Get a user operation by hash request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "operation_hash_param": {
          "type": "string",
          "description": "User operation hash in the path"
        },
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "operation_hash_param",
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "aggregator": {
      "type": "string"
    },
    "aggregator_signature": {
      "type": "string"
    },
    "block_hash": {
      "type": "string"
    },
    "block_number": {
      "type": "string"
    },
    "bundle_index": {
      "type": "integer"
    },
    "bundler": {
      "type": "object",
      "properties": {
        "ens_domain_name": {
          "type": "string"
        },
        "hash": {
          "type": "string"
        },
        "implementations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address_hash": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "is_contract": {
          "type": "boolean"
        },
        "is_scam": {
          "type": "boolean"
        },
        "is_verified": {
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "meta": {
                    "type": "object",
                    "properties": {}
                  },
                  "name": {
                    "type": "string"
                  },
                  "ordinal": {
                    "type": "integer"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "tagType": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "name": {
          "type": "string"
        },
        "proxy_type": {
          "type": "string"
        },
        "reputation": {
          "type": "string"
        }
      }
    },
    "call_data": {
      "type": "string"
    },
    "call_gas_limit": {
      "type": "string"
    },
    "consensus": {
      "type": "boolean"
    },
    "decoded_call_data": {
      "type": "object",
      "properties": {
        "method_call": {
          "type": "string"
        },
        "method_id": {
          "type": "string"
        },
        "parameters": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {}
          }
        }
      }
    },
    "decoded_execute_call_data": {
      "type": "object",
      "properties": {
        "method_call": {
          "type": "string"
        },
        "method_id": {
          "type": "string"
        },
        "parameters": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {}
          }
        }
      }
    },
    "entry_point": {
      "type": "object",
      "properties": {
        "ens_domain_name": {
          "type": "string"
        },
        "hash": {
          "type": "string"
        },
        "implementations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address_hash": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "is_contract": {
          "type": "boolean"
        },
        "is_scam": {
          "type": "boolean"
        },
        "is_verified": {
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "meta": {
                    "type": "object",
                    "properties": {}
                  },
                  "name": {
                    "type": "string"
                  },
                  "ordinal": {
                    "type": "integer"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "tagType": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "name": {
          "type": "string"
        },
        "proxy_type": {
          "type": "string"
        },
        "reputation": {
          "type": "string"
        }
      }
    },
    "entry_point_version": {
      "type": "string"
    },
    "execute_call_data": {
      "type": "string"
    },
    "execute_target": {
      "type": "object",
      "properties": {
        "ens_domain_name": {
          "type": "string"
        },
        "hash": {
          "type": "string"
        },
        "implementations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address_hash": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "is_contract": {
          "type": "boolean"
        },
        "is_scam": {
          "type": "boolean"
        },
        "is_verified": {
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "meta": {
                    "type": "object",
                    "properties": {}
                  },
                  "name": {
                    "type": "string"
                  },
                  "ordinal": {
                    "type": "integer"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "tagType": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "name": {
          "type": "string"
        },
        "proxy_type": {
          "type": "string"
        },
        "reputation": {
          "type": "string"
        }
      }
    },
    "factory": {
      "type": "object",
      "properties": {
        "ens_domain_name": {
          "type": "string"
        },
        "hash": {
          "type": "string"
        },
        "implementations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address_hash": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "is_contract": {
          "type": "boolean"
        },
        "is_scam": {
          "type": "boolean"
        },
        "is_verified": {
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "meta": {
                    "type": "object",
                    "properties": {}
                  },
                  "name": {
                    "type": "string"
                  },
                  "ordinal": {
                    "type": "integer"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "tagType": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "name": {
          "type": "string"
        },
        "proxy_type": {
          "type": "string"
        },
        "reputation": {
          "type": "string"
        }
      }
    },
    "fee": {
      "type": "string"
    },
    "gas": {
      "type": "string"
    },
    "gas_price": {
      "type": "string"
    },
    "gas_used": {
      "type": "string"
    },
    "hash": {
      "type": "string"
    },
    "index": {
      "type": "integer"
    },
    "max_fee_per_gas": {
      "type": "string"
    },
    "max_priority_fee_per_gas": {
      "type": "string"
    },
    "nonce": {
      "type": "string"
    },
    "paymaster": {
      "type": "object",
      "properties": {
        "ens_domain_name": {
          "type": "string"
        },
        "hash": {
          "type": "string"
        },
        "implementations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address_hash": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "is_contract": {
          "type": "boolean"
        },
        "is_scam": {
          "type": "boolean"
        },
        "is_verified": {
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "meta": {
                    "type": "object",
                    "properties": {}
                  },
                  "name": {
                    "type": "string"
                  },
                  "ordinal": {
                    "type": "integer"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "tagType": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "name": {
          "type": "string"
        },
        "proxy_type": {
          "type": "string"
        },
        "reputation": {
          "type": "string"
        }
      }
    },
    "pre_verification_gas": {
      "type": "string"
    },
    "raw": {
      "type": "object",
      "properties": {
        "call_data": {
          "type": "string"
        },
        "call_gas_limit": {
          "type": "string"
        },
        "init_code": {
          "type": "string"
        },
        "max_fee_per_gas": {
          "type": "string"
        },
        "max_priority_fee_per_gas": {
          "type": "string"
        },
        "nonce": {
          "type": "string"
        },
        "paymaster_and_data": {
          "type": "string"
        },
        "pre_verification_gas": {
          "type": "string"
        },
        "sender": {
          "type": "string"
        },
        "signature": {
          "type": "string"
        },
        "verification_gas_limit": {
          "type": "string"
        }
      }
    },
    "revert_reason": {
      "type": "string"
    },
    "sender": {
      "type": "object",
      "properties": {
        "ens_domain_name": {
          "type": "string"
        },
        "hash": {
          "type": "string"
        },
        "implementations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "address_hash": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "is_contract": {
          "type": "boolean"
        },
        "is_scam": {
          "type": "boolean"
        },
        "is_verified": {
          "type": "boolean"
        },
        "metadata": {
          "type": "object",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "meta": {
                    "type": "object",
                    "properties": {}
                  },
                  "name": {
                    "type": "string"
                  },
                  "ordinal": {
                    "type": "integer"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "tagType": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "name": {
          "type": "string"
        },
        "proxy_type": {
          "type": "string"
        },
        "reputation": {
          "type": "string"
        }
      }
    },
    "signature": {
      "type": "string"
    },
    "sponsor_type": {
      "type": "string"
    },
    "status": {
      "type": "boolean"
    },
    "timestamp": {
      "type": "string"
    },
    "transaction_hash": {
      "type": "string"
    },
    "user_logs_count": {
      "type": "integer"
    },
    "user_logs_start_index": {
      "type": "integer"
    },
    "verification_gas_limit": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/proxy/account-abstraction/operations/%3Coperation_hash_param%3E' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
{
  "aggregator": "<aggregator>",
  "aggregator_signature": "<aggregator_signature>",
  "block_hash": "<block_hash>",
  "block_number": "<block_number>",
  "bundle_index": 0,
  "bundler": {
    "ens_domain_name": "<ens_domain_name>",
    "hash": "<hash>",
    "implementations": [
      {
        "address_hash": "<address_hash>",
        "name": "<name>"
      }
    ],
    "is_contract": false,
    "is_scam": false,
    "is_verified": false,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<name>",
          "ordinal": 0,
          "slug": "<slug>",
          "tagType": "<tagType>"
        }
      ]
    },
    "name": "<name>",
    "proxy_type": "eip1167",
    "reputation": "ok"
  },
  "call_data": "<call_data>",
  "call_gas_limit": "<call_gas_limit>",
  "consensus": false,
  "decoded_call_data": {
    "method_call": "<method_call>",
    "method_id": "<method_id>",
    "parameters": [
      {}
    ]
  },
  "decoded_execute_call_data": {
    "method_call": "<method_call>",
    "method_id": "<method_id>",
    "parameters": [
      {}
    ]
  },
  "entry_point": {
    "ens_domain_name": "<ens_domain_name>",
    "hash": "<hash>",
    "implementations": [
      {
        "address_hash": "<address_hash>",
        "name": "<name>"
      }
    ],
    "is_contract": false,
    "is_scam": false,
    "is_verified": false,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<name>",
          "ordinal": 0,
          "slug": "<slug>",
          "tagType": "<tagType>"
        }
      ]
    },
    "name": "<name>",
    "proxy_type": "eip1167",
    "reputation": "ok"
  },
  "entry_point_version": "v0.6",
  "execute_call_data": "<execute_call_data>",
  "execute_target": {
    "ens_domain_name": "<ens_domain_name>",
    "hash": "<hash>",
    "implementations": [
      {
        "address_hash": "<address_hash>",
        "name": "<name>"
      }
    ],
    "is_contract": false,
    "is_scam": false,
    "is_verified": false,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<name>",
          "ordinal": 0,
          "slug": "<slug>",
          "tagType": "<tagType>"
        }
      ]
    },
    "name": "<name>",
    "proxy_type": "eip1167",
    "reputation": "ok"
  },
  "factory": {
    "ens_domain_name": "<ens_domain_name>",
    "hash": "<hash>",
    "implementations": [
      {
        "address_hash": "<address_hash>",
        "name": "<name>"
      }
    ],
    "is_contract": false,
    "is_scam": false,
    "is_verified": false,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<name>",
          "ordinal": 0,
          "slug": "<slug>",
          "tagType": "<tagType>"
        }
      ]
    },
    "name": "<name>",
    "proxy_type": "eip1167",
    "reputation": "ok"
  },
  "fee": "<fee>",
  "gas": "<gas>",
  "gas_price": "<gas_price>",
  "gas_used": "<gas_used>",
  "hash": "<hash>",
  "index": 0,
  "max_fee_per_gas": "<max_fee_per_gas>",
  "max_priority_fee_per_gas": "<max_priority_fee_per_gas>",
  "nonce": "<nonce>",
  "paymaster": {
    "ens_domain_name": "<ens_domain_name>",
    "hash": "<hash>",
    "implementations": [
      {
        "address_hash": "<address_hash>",
        "name": "<name>"
      }
    ],
    "is_contract": false,
    "is_scam": false,
    "is_verified": false,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<name>",
          "ordinal": 0,
          "slug": "<slug>",
          "tagType": "<tagType>"
        }
      ]
    },
    "name": "<name>",
    "proxy_type": "eip1167",
    "reputation": "ok"
  },
  "pre_verification_gas": "<pre_verification_gas>",
  "raw": {
    "call_data": "<call_data>",
    "call_gas_limit": "<call_gas_limit>",
    "init_code": "<init_code>",
    "max_fee_per_gas": "<max_fee_per_gas>",
    "max_priority_fee_per_gas": "<max_priority_fee_per_gas>",
    "nonce": "<nonce>",
    "paymaster_and_data": "<paymaster_and_data>",
    "pre_verification_gas": "<pre_verification_gas>",
    "sender": "<sender>",
    "signature": "<signature>",
    "verification_gas_limit": "<verification_gas_limit>"
  },
  "revert_reason": "<revert_reason>",
  "sender": {
    "ens_domain_name": "<ens_domain_name>",
    "hash": "<hash>",
    "implementations": [
      {
        "address_hash": "<address_hash>",
        "name": "<name>"
      }
    ],
    "is_contract": false,
    "is_scam": false,
    "is_verified": false,
    "metadata": {
      "tags": [
        {
          "meta": {},
          "name": "<name>",
          "ordinal": 0,
          "slug": "<slug>",
          "tagType": "<tagType>"
        }
      ]
    },
    "name": "<name>",
    "proxy_type": "eip1167",
    "reputation": "ok"
  },
  "signature": "<signature>",
  "sponsor_type": "wallet_deposit",
  "status": false,
  "timestamp": "<timestamp>",
  "transaction_hash": "<transaction_hash>",
  "user_logs_count": 0,
  "user_logs_start_index": 0,
  "verification_gas_limit": "<verification_gas_limit>"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Is a user operation the same as a transaction?
No. Keep the user-operation hash distinct from any transaction and bundle references in the result.

### Can I assume gas and fee fields use one display unit?
No. Preserve each field and its representation; do not combine gas units, fee amounts and gas prices as interchangeable values.

### Are decoded call fields always complete?
They can depend on the indexed call and decoding context. Retain raw call data when a decoded section is unavailable.

### Does this endpoint broadcast an operation?
No. It retrieves indexed operation details.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- blockscout: https://openany.si/blockscout/blockscout-get-a-user-operation-by-hash/21ab3204-a6dc-402a-a209-518094658bb5/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
