Skip to main content

Interface: WalletProviderState

This component is a layer of Wagmi and ConnectKit which allow to handle Metamask, WalletConnect and Coinbase without needing to set any config

Table of contents

Properties

Properties

checkIsChainCorrect

checkIsChainCorrect: () => boolean

Type declaration

▸ (): boolean

If chain is between the available networks supported

Returns

boolean

Defined in

src/client.tsx:100


client

client: Client<Provider, WebSocketProvider>

All the wagmi client functionalities

See

wagmi

Defined in

src/client.tsx:84


getAllAvailableChains

getAllAvailableChains: () => Chain[]

Type declaration

▸ (): Chain[]

Get all the available chains

Returns

Chain[]

Defined in

src/client.tsx:94


getConnectors

getConnectors: () => Connector<any, any, any>[]

Type declaration

▸ (): Connector<any, any, any>[]

Get all the connectors available

Returns

Connector<any, any, any>[]

Defined in

src/client.tsx:88


getProvider

getProvider: () => Provider

Type declaration

▸ (): Provider

Metamask provider for example web3 or ethers

Returns

Provider

Defined in

src/client.tsx:86


getStatus

getStatus: () => undefined | "connecting" | "connected" | "reconnecting" | "disconnected"

Type declaration

▸ (): undefined | "connecting" | "connected" | "reconnecting" | "disconnected"

Get the status of the wallet

Returns

undefined | "connecting" | "connected" | "reconnecting" | "disconnected"

Defined in

src/client.tsx:92


login

login: (connector: Connector<any, any, any>) => void

Type declaration

▸ (connector): void

Login in Provider

Parameters
NameType
connectorConnector<any, any, any>
Returns

void

Defined in

src/client.tsx:98


logout

logout: () => void

Type declaration

▸ (): void

Logout from the wallet

Returns

void

Defined in

src/client.tsx:90


walletAddress

walletAddress: string

The address of the wallet account

Defined in

src/client.tsx:96