diff --git a/EIPS/eip-758.md b/EIPS/eip-758.md index 61195fb3c431ea..b828425f8509bf 100644 --- a/EIPS/eip-758.md +++ b/EIPS/eip-758.md @@ -55,10 +55,10 @@ The caller receives notifications about their transactions' return data in two c ``` ### Polling -Push notifications require full duplex connections (i.e., websocket or IPC). Instead of subscribing, callers using HTTP send an `eth_newFilter` request: +Push notifications require full duplex connections (i.e., websocket or IPC). Instead of subscribing, callers using HTTP send an `eth_newReturnDataFilter` request: ```json -{"jsonrpc": "2.0", "id": 1, "method": "eth_newFilter", "params": ["returnData"]} +{"jsonrpc": "2.0", "id": 1, "method": "eth_newReturnDataFilter"} ``` The Ethereum node responds with a filter ID: @@ -86,7 +86,7 @@ The node responds with an array of transaction hashes and their corresponding re } ``` -All transactions submitted by the client that were sealed _after_ the initial `eth_newFilter` request are included in this array. +All transactions submitted by the client that were sealed _after_ the initial `eth_newReturnDataFilter` request are included in this array. ## Rationale