Properties
Optional
addChain
addChain?: ((chain) => Promise<void>)
Type declaration
-
- (chain): Promise<void>
-
Returns Promise<void>
Optional
address
address?: string
Optional
chainId
chainId?: ChainId
Optional
chainType
chainType?: ChainTypes
connect
connect: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
Optional
getAddressUrl
getAddressUrl?: ((chain, address) => string)
Type declaration
-
- (chain, address): string
-
Parameters
-
chain: Chain
-
address: string
Returns string
Optional
getHashFromTx
getHashFromTx?: ((txResponse) => string)
Type declaration
-
- (txResponse): string
-
Returns string
Optional
getTxUrl
getTxUrl?: ((chain, txHash) => string)
Type declaration
-
- (chain, txHash): string
-
Parameters
-
chain: Chain
-
txHash: string
Returns string
Optional
getWeb3Provider
getWeb3Provider?: (() => Web3Provider)
Type declaration
-
- (): Web3Provider
-
Returns Web3Provider
init
init: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
isConnected
isConnected: boolean
Optional
signMessage
signMessage?: ((message) => Promise<string>)
Type declaration
-
- (message): Promise<string>
-
Returns Promise<string>
switchChain
switchChain: ((chainId) => Promise<void>)
Type declaration
-
- (chainId): Promise<void>
-
Returns Promise<void>