> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getFilterChanges

> Polling method for a filter, which returns an array of logs which occurred since last poll.

### Parameters

**chainId** `string` *required* (default: 1001)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: eth\_getFilterChanges)

JSON-RPC method name.

**params** `object` *required*

Parameters for eth\_getFilterChanges: \[filterId].

Positional parameters for `eth_getFilterChanges`:

<ul>
  <li>`params[0]`: The filter ID as a hex quantity (e.g., "0x16" for 22).</li>
</ul>

### Returns

**result** `array`

Array of log objects, or an empty array if nothing has changed since last poll.

**items**

**items\[]** `array`

Array of log objects generated by this transaction. Each log contains indexed topics and data.

**items**

**items\[]** `object`

**properties**

**address** `string`

Address from which this log originated.

**topics** `array`

Indexed log topics.

**items**

**items\[]** `string`

**data** `string`

Data portion of the log.

**blockNumber** `integer`

**transactionHash** `string`

**transactionIndex** `integer`

**blockHash** `string`

**logIndex** `integer`

**removed** `boolean`

Indicates whether this log was removed due to a chain reorg.

```bash Curl theme={null}
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1001 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_getFilterChanges",
    "params": [
      "0x16"
    ]
  }'
```

```json Success theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "logIndex": "0x1",
      "blockNumber": "0x1b4",
      "blockHash": "0x8216c5785ac562ff41e2dcfdf5785ac562ff41e2dcfdf829c5a142f1fccd7d",
      "transactionHash": "0xdf829c5a142f1fccd7d8216c5785ac562ff41e2dcfdf5785ac562ff41e2dcf",
      "transactionIndex": "0x0",
      "address": "0x16c5785ac562ff41e2dcfdf829c5a142f1fccd7d",
      "data": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "topics": [
        "0x59ebeb90bc63057b6515673c3ecf9438e5058bca0f92585014eced636878c9a5"
      ]
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.