useJustWeb3

@justweb3/widgetDocs


@justweb3/widget / useJustWeb3

Interface: useJustWeb3

Properties

chainId

chainId: undefined | ChainId

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:280


connectedEns

connectedEns: undefined | null | object

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:275


handleOpenSignInDialog()

handleOpenSignInDialog: (open) => void

Parameters

open: boolean

Returns

void

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:265


isEnsAuthFetching

isEnsAuthFetching: boolean

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:273


isEnsAuthLoading

isEnsAuthLoading: boolean

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:272


isEnsAuthPending

isEnsAuthPending: boolean

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:271


isLoggedIn

isLoggedIn: boolean

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:270


isSignInOpen

isSignInOpen: boolean

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:266


openEnsProfile()

openEnsProfile: (ens, chainId?) => void

Parameters

ens: string

chainId?: ChainId

Returns

void

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:276


refreshEnsAuth()

refreshEnsAuth: () => void

Returns

void

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:274


signIn

signIn: UseMutateAsyncFunction<string, Error, UseEnsSignInFunctionParams, unknown>

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:267


signOut()

signOut: () => Promise<void>

Returns

Promise<void>

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:268


status

status: "pending" | "signedIn" | "signedOut"

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:269


updateRecords()

updateRecords: (records) => Promise<void>

Parameters

records: Omit<UseSubnameUpdateFunctionParams, "ens"> & object

Returns

Promise<void>

Defined in

packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:277

Last updated