A flag indicating whether connection should be initiated when the class is constructed.
Options to pass to @metamask/detect-provider
An EIP-1193 (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md) and EIP-1102 (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1102.md) compliant provider. May also comply with EIP-3085 (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3085.md). This property must be defined while the connector is active.
Initiates a connection.
If defined, indicates the desired chain to connect to. If the user is already connected to this chain, no additional steps will be taken. Otherwise, the user will be prompted to switch to the chain, if one of two conditions is met: either they already have it added in their extension, or the argument is of type AddEthereumChainParameter, in which case the user will be prompted to add the chain with the specified parameters first, before being prompted to switch.
Initiate a disconnect.
Generated using TypeDoc