Skip to content

getUserOperationReceipt

calls eth_getUserOperationReceipt and returns UserOperationReceipt if found otherwise null

Usage

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

Returns

Promise<UserOperationReceipt | null>

The User Operation Receipt if found, otherwise null

Parameters

hash: Hash

The hash of the User Operation to fetch