Class: InAppWalletConnector
Constructors​
constructor​
• new InAppWalletConnector(__namedParameters
)
Parameters​
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.chainId | 1 | 4 |
__namedParameters.privateKey | string |
__namedParameters.url | string |
Properties​
activeAccount​
â–ª Static
activeAccount: undefined
| string
address​
â–ª Static
address: string
currentChainId​
â–ª Static
currentChainId: number
providers​
â–ª Static
providers: Object
Index signature​
â–ª [chainId: number
]: string
web3​
â–ª Static
web3: default
Methods​
getAccount​
â–¸ Static
getAccount(): string
Returns​
string
getChainId​
â–¸ Static
getChainId(): number
Returns​
number
getProvider​
â–¸ Static
getProvider(): string
Returns​
string