eth_getUserOperationByHash
Return a UserOperation based on a userOpHash.
Limitations
This method retrieves and decodes userOperations from the logs of mined transactions by querying the node. If you attempt to fetch a userOperation from a distant past block, the request may be rejected by the node due to limitations on the block range size it can process.
How far back the lookup scans for the operation's UserOperationEvent depends on the chain and your plan tier. An operation older than the supported range is reported as not found:
| Chain | Free | Pay As You Go | Enterprise |
|---|---|---|---|
| Arbitrum Mainnet, Arbitrum Sepolia, BNB Smart Chain Mainnet, Base Mainnet, Base Sepolia, Ethereum Mainnet, Ethereum Sepolia, OP Mainnet, OP Sepolia, Polygon PoS Amoy, Polygon PoS Mainnet, Robinhood Chain Mainnet, World Chain Mainnet, World Chain Sepolia | 150 | unlimited | unlimited |
| BNB Smart Chain Testnet | 50 | 50 | 50 |
| Hyperliquid Mainnet | 150 | 2,000 | 2,000 |
| Monad Mainnet | 150 | 1,000 | 1,000 |
| Robinhood Chain Testnet | 150 | 5,000 | 5,000 |
Chains not listed here support 150 blocks on every tier.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
string
format: "^0x[0-9a-fA-F]*$"requiredThe userOpHash of the UserOperation to retrieve.
Responses
200
The matched UserOperation with inclusion metadata, or null if no operation is found.
Was this page helpful?