UseEnsAvatarResult

@justaname.id/reactDocs


@justaname.id/react / UseEnsAvatarResult

Interface: UseEnsAvatarResult

Properties

avatar?

optional avatar: string

Defined in

packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:29


getEnsAvatar()

getEnsAvatar: (params) => Promise<undefined | string>

Parameters

params: GetEnsAvatarParams

Returns

Promise<undefined | string>

Defined in

packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:30


isLoading

isLoading: boolean

Defined in

packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:32


sanitizeEnsImage()

sanitizeEnsImage: (params) => undefined | string

Parameters

params: SanitizeImageParams

Returns

undefined | string

Defined in

packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:31

Last updated