mirror of https://github.com/status-im/EIPs.git
Automatically merged updates to draft EIP(s) 758
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing draft 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
841361e3f3
commit
a328583df1
|
@ -55,10 +55,10 @@ The caller receives notifications about their transactions' return data in two c
|
||||||
```
|
```
|
||||||
|
|
||||||
### Polling
|
### 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
|
```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:
|
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
|
## Rationale
|
||||||
|
|
Loading…
Reference in New Issue