eth_getUserOperationByHash

returns a UserOperation by its hash returned from eth_sendUserOperation

Parameters:

string- hash of the UserOperation

Returns:

Object

Example:

// Request
curl https://taiko.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" 
--data 
'{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "eth_getUserOperationByHash",
  "params": [userOpHash, entrypointAddress]
}'

// Result
full UserOperation objest

Last updated