Skip to content

getUserOperationByHash

calls eth_getUserOperationByHash and returns the UserOperationResponse if found

Usage

example.ts
import { client } from "./client";
 
const uo = await client.getUserOperationByHash("0xUserOperationHash");

Returns

Promise<UserOperationResponse | null>

The User Operation if found, otherwise null

Parameters

hash: Hash

The hash of the User Operation to fetch