mirror of https://github.com/status-im/EIPs.git
Automatically merged updates to draft EIP(s) 1193
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
e6a686ddc1
commit
8b19b7e2db
|
@ -32,7 +32,7 @@ Promise resolves with `result` or rejects with `Error`.
|
|||
|
||||
See the [available methods](https://github.com/ethereum/wiki/wiki/JSON-RPC#json-rpc-methods).
|
||||
|
||||
#### Request Accounts
|
||||
#### eth_requestAccounts
|
||||
|
||||
By default, the provider supplied to a new dapp has is a "read-only" provider with no accounts authenticated.
|
||||
|
||||
|
@ -52,7 +52,7 @@ All subscriptions from the node emit on `notification`. Attach listeners with:
|
|||
ethereum.on('notification', listener: (result: any) => void): this;
|
||||
```
|
||||
|
||||
To create a subscription, call `ethereum.send('eth_subscribe') or`ethereum.send('shh_subscribe'). The subscription `result` object will emit through `notification`.
|
||||
To create a subscription, call `ethereum.send('eth_subscribe')` or `ethereum.send('shh_subscribe')`. The subscription `result` object will emit through `notification`.
|
||||
|
||||
See the [eth subscription methods](https://github.com/ethereum/go-ethereum/wiki/RPC-PUB-SUB#supported-subscriptions) and [shh subscription methods](https://github.com/ethereum/go-ethereum/wiki/Whisper-v6-RPC-API#shh_subscribe).
|
||||
|
||||
|
|
Loading…
Reference in New Issue