---
title: "eth_subscribe"
method: POST
path: "/eth_subscribe"
tags: ["PubSub API"]
---

# eth_subscribe

`POST /eth_subscribe`

Creates a new subscription for events.

## Request body

- object
  - `jsonrpc` string, required — JSON-RPC version
  - `method` string, required — The method to call
  - `params` union[] — Parameters for the subscription
    - union
      - string — Name of the subscription (e.g., 'newHeads', 'logs')
      - object — Optional filter conditions for the subscription
  - `id` integer, required — Request identifier

## Response `200`

A subscription ID used to identify and manage the subscription

- object
  - `jsonrpc` string
  - `id` integer
  - `result` string — Subscription ID

---

[API](https://skmtc.dev/abs/apis/abstract-json-rpc-api.md) · [All operations](https://skmtc.dev/abs/apis/abstract-json-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/abs/abstract-json-rpc-api/revisions/65e951da6380/schema)
