Interface: IWeb3ReactContext
Properties​
active​
• active: boolean
address​
• Optional
address: null
| string
chainId​
• Optional
chainId: number
connector​
• connector: undefined
| InAppWalletConnector
library​
• library: default
Methods​
connect​
â–¸ connect(p
): Promise
<void
>
Parameters​
Name | Type |
---|---|
p | Object |
p.chainId | 1 | 4 |
p.privateKey | string |
Returns​
Promise
<void
>
disconnect​
â–¸ disconnect(): void
Returns​
void