PubSub API
eth_subscribe
Creates a new subscription for events.
POST
Body
application/json
JSON-RPC version
The method to call
Request identifier
Example:
1
Parameters for the subscription
Name of the subscription (e.g., 'newHeads', 'logs')
Example:
["newHeads"]
Was this page helpful?