getUserOpReceipt
Get the receipt of a user operation.
import { getUserOpReceipt } from "thirdweb/wallets/smart"; const receipt = await getUserOpReceipt({ client, chain, userOpHash,});
function getUserOpReceipt( args: BundlerOptions & { userOpHash: `0x${string}` },
let returnType: { blobGasPrice?: quantity; blobGasUsed?: quantity; blockHash: Hash; blockNumber: quantity; contractAddress: Address | null | undefined; cumulativeGasUsed: quantity; effectiveGasPrice: quantity; from: Address; gasUsed: quantity; logs: Array<Log<quantity, index, false>>; logsBloom: Hex; root?: Hash; status: status; to: Address | null; transactionHash: Hash; transactionIndex: index; type: type;};
The receipt of the user operation.