mirror of https://github.com/status-im/EIPs.git
Automatically merged updates to draft EIP(s) 1102
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
This commit is contained in:
parent
ef0947d23c
commit
ff95512550
|
@ -35,6 +35,16 @@ Providers exposed by Ethereum-enabled DOM environments define a new RPC method:
|
|||
ethereum.send('eth_requestAccounts'): Promise<string>
|
||||
```
|
||||
|
||||
#### Provider#enable (DEPRECATED)
|
||||
|
||||
**Note: This method is deprecated in favor of the RPC method [`eth_requestAccounts`](#eth_requestAccounts).**
|
||||
|
||||
Providers exposed by DOM environments define a new enable method that returns a Promise. Calling this method triggers a user interface that allows the user to approve or deny full provider access for a given dapp. The returned Promise is resolved if the user approves full provider access or rejected if the user denies full provider access.
|
||||
|
||||
```js
|
||||
ethereum.enable(): Promise<any>
|
||||
```
|
||||
|
||||
### Protocol
|
||||
|
||||
#### Legacy dapp initialization
|
||||
|
|
Loading…
Reference in New Issue