/ DEVELOPERS / API / ETH_SUBSCRIBE:LOGS
eth_subscribe:logs
WS-only. Streams logs that match an optional address+topics filter. Each emitted log has the same shape as eth_getLogs.
eth_subscribe:logs
WS-only. Streams logs that match an optional address+topics filter. Each emitted log has the same shape as eth_getLogs.
eth_*category: subscriptionreturns: subscription
Parameters
Response
Press Send Request to see a response.
Copy as
curl -X POST '/rpc' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_subscribe","params":["logs",{"address":[],"topics":[]}],"id":1}'