> For the complete documentation index, see [llms.txt](https://docs.getblock.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getblock.io/api-reference/fuse-network-fuse/fuse_eth_subscribe.md).

# eth\_subscribe - Fuse Network

Example code for the eth\_subscribe json-rpc method. Сomplete guide on how to use eth\_subscribe json-rpc in GetBlock.io Web3 documentation.

#### Parameters

`type` - string

A subscription type, such as newHeads (new headers appended to the chain, including chain reorganizations), logs (logs that are included in new imported blocks and match the given filter criteria) or newPendingTransactions (hashes for all transactions that are added to the pending state and are signed with a key that is available in the node).

`objects` - hex string

Optional argumants such as an address, multiple addresses, and topics.

#### Request

```java
curl --location --request POST 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_subscribe",
"params": ["newHeads", null],
"id": "getblock.io"}'
```

#### Response

```java
{
    "error": {
        "code": -32601,
        "message": "Method not found"
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}
```
