Skip to main content

Class: InAppWalletConnector

Constructors​

constructor​

• new InAppWalletConnector(__namedParameters)

Parameters​

NameType
__namedParametersObject
__namedParameters.chainId1 | 4
__namedParameters.privateKeystring
__namedParameters.urlstring

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