> ## 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.

# klay_getFilterChanges

> Polls the specified filter for changes since the last poll and returns new log entries.

### Parameters

<ParamField query="chainId" type="string" default="1001" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="klay_getFilterChanges" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[""]} placeholder="[&#x22;&#x22;]" required>
  Parameters: \[filterId].

  Positional parameters for <code>klay\_getFilterChanges</code>:

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

### Returns

<ResponseField name="result" type="array">
  Array of log objects generated by this transaction. Each log contains indexed topics and data.

  <Expandable title="items">
    <ResponseField name="items[]" type="object">
      <Expandable title="properties">
        <ResponseField name="address" type="string">
          Address from which this log originated.
        </ResponseField>

        <ResponseField name="topics" type="array">
          Indexed log topics.

          <Expandable title="items">
            <ResponseField name="items[]" type="string" />
          </Expandable>
        </ResponseField>

        <ResponseField name="data" type="string">
          Data portion of the log.
        </ResponseField>

        <ResponseField name="blockNumber" type="integer" />

        <ResponseField name="transactionHash" type="string" />

        <ResponseField name="transactionIndex" type="integer" />

        <ResponseField name="blockHash" type="string" />

        <ResponseField name="logIndex" type="integer" />

        <ResponseField name="removed" type="boolean">
          Indicates whether this log was removed due to a chain reorg.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```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": "klay_getFilterChanges",
      "params": [
        ""
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": []
  }
  ```
</ResponseExample>
