Merge pull request #24504 from samlaf/patch-2

newHeads subscription doesn't take a second param
pull/23240/merge
Sina Mahmoodi 3 years ago committed by GitHub
commit d3eb320477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/_rpc/pubsub.md

@ -13,7 +13,7 @@ together with the subscription id.
Example:
// create subscription
>> {"id": 1, "method": "eth_subscribe", "params": ["newHeads", {}]}
>> {"id": 1, "method": "eth_subscribe", "params": ["newHeads"]}
<< {"jsonrpc":"2.0","id":1,"result":"0xcd0c3e8af590364c09d0fa6a1210faf5"}
// incoming notifications

Loading…
Cancel
Save