JustaNameContextProps

@justaname.id/reactDocs


@justaname.id/react / JustaNameContextProps

Interface: JustaNameContextProps

Extends

  • Omit<JustaNameConfigDefaults, "defaultChainId">

Properties

backendUrl?

optional backendUrl: string

Defined in

packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:54


chainId

chainId: undefined | ChainId

Defined in

packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:57


config?

optional config: Configuration

Inherited from

Omit.config

Defined in

packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:28


dev?

optional dev: boolean

Inherited from

Omit.dev

Defined in

packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:32


ensDomains

ensDomains: EnsDomainByChainId[]

Inherited from

Omit.ensDomains

Defined in

packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:36


justaname

justaname: JustaName

Defined in

packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:52


justanameConfig

justanameConfig: JustaNameProviderConfig

Defined in

packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:50


networks

networks: NetworksWithProvider

Inherited from

Omit.networks

Defined in

packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:35


routes

routes: object

addSubnameRoute

addSubnameRoute: string = '/api/subnames/add'

currentEnsRoute

currentEnsRoute: string = '/api/current'

revokeSubnameRoute

revokeSubnameRoute: string = '/api/subnames/revoke'

signinNonceRoute

signinNonceRoute: string = '/api/signin/nonce'

signinRoute

signinRoute: string = '/api/signin'

signoutRoute

signoutRoute: string = '/api/signout'

Defined in

packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:53


selectedEnsDomain

selectedEnsDomain: undefined | string

Defined in

packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:56


selectedNetwork

selectedNetwork: NetworkWithProvider<ChainId>

Defined in

packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:55

Last updated