From 8b19b7e2db69c6be15ea0a1f890287fd025e3429 Mon Sep 17 00:00:00 2001 From: Ryan Ghods Date: Mon, 29 Oct 2018 14:32:23 +0100 Subject: [PATCH] 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 --- EIPS/eip-1193.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EIPS/eip-1193.md b/EIPS/eip-1193.md index 32d68db4..8a9ac6c0 100644 --- a/EIPS/eip-1193.md +++ b/EIPS/eip-1193.md @@ -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).