getUserOperation
Retrieves information about a User Operation given a hash.
Usage
import { } from './client'
const = await .getUserOperation({
: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d'
})Returns
{
blockHash: Hash,
blockNumber: bigint,
entryPoint: Address,
transactionHash: Hash,
userOperation: UserOperation
}User Operation information.
Parameters
hash
- Type:
'0x${string}'
A User Operation hash.
const = await publicClient.getUserOperation({
: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d'
})