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

> Returns information about a uncle of a block by number and uncle index position.

### Parameters

<ParamField query="chainId" type="string" default="1088" 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="eth_getUncleByBlockNumberAndIndex" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[0,0]} placeholder="[0,0]" required>
  Parameters for eth\_getUncleByBlockNumberAndIndex: \[defaultBlock, index].

  Positional parameters for <code>eth\_getUncleByBlockNumberAndIndex</code>:

  <ul>
    <li><code>params\[0]</code>: Block identifier. Can be an integer block number or a string tag: "latest", "earliest", or "pending".</li>
    <li><code>params\[1]</code>: Integer of the uncle’s index position.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="oneOf">
  Ethereum block object. Null when no block was found.

  <Expandable title="variants">
    <ResponseField name="variant1" type="object">
      Ethereum block object. Null when no block was found.

      <Expandable title="properties">
        <ResponseField name="number" type="string">
          The block number. Null when pending.
        </ResponseField>

        <ResponseField name="hash" type="string">
          Hash of the block. Null when pending.
        </ResponseField>

        <ResponseField name="parentHash" type="string">
          Hash of the parent block.
        </ResponseField>

        <ResponseField name="nonce" type="string">
          8-byte proof-of-work nonce. Null when pending or in PoA networks.
        </ResponseField>

        <ResponseField name="sha3Uncles" type="string">
          SHA3 of the uncles data.
        </ResponseField>

        <ResponseField name="logsBloom" type="string">
          Bloom filter for logs in the block. Null when pending.
        </ResponseField>

        <ResponseField name="transactionsRoot" type="string">
          Root of the transaction trie.
        </ResponseField>

        <ResponseField name="stateRoot" type="string">
          Root of the final state trie.
        </ResponseField>

        <ResponseField name="receiptsRoot" type="string">
          Root of the receipts trie.
        </ResponseField>

        <ResponseField name="author" type="string">
          Address of the block author (beneficiary).
        </ResponseField>

        <ResponseField name="miner" type="string">
          Alias of `author`. Address of the miner.
        </ResponseField>

        <ResponseField name="difficulty" type="string">
          Block difficulty.
        </ResponseField>

        <ResponseField name="totalDifficulty" type="string">
          Total difficulty of the chain up to this block.
        </ResponseField>

        <ResponseField name="extraData" type="string">
          Extra data field of the block.
        </ResponseField>

        <ResponseField name="size" type="string">
          Size of the block in bytes.
        </ResponseField>

        <ResponseField name="gasLimit" type="string">
          Maximum gas allowed in the block.
        </ResponseField>

        <ResponseField name="gasUsed" type="string">
          Total gas used by all transactions.
        </ResponseField>

        <ResponseField name="timestamp" type="string">
          Unix timestamp for when the block was collated.
        </ResponseField>

        <ResponseField name="transactions" type="array">
          Array of either 32-byte transaction hashes or full transaction objects, depending on the request.

          <Expandable title="items">
            <ResponseField name="items[]" type="oneOf">
              Transaction hash.

              <Expandable title="variants">
                <ResponseField name="variant1" type="string">
                  Transaction hash.
                </ResponseField>

                <ResponseField name="variant2" type="object">
                  Full transaction object.

                  <Expandable title="properties">
                    <ResponseField name="hash" type="string" />

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

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

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

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

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

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

                    <ResponseField name="input" type="string" />
                  </Expandable>
                </ResponseField>
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="uncles" type="array">
          Array of uncle block hashes.

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

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

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "number": "0x1b4",
      "hash": "0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09",
      "parentHash": "0x9646252be9520f6e71339a8df9c55e4d7619deeb018d2a3f2d21fc165dde5eb5",
      "sealFields": [
        "0xe04d296d2460cfb8472af2c5fd05b5a214109c25688d3704aed5484f9a7792f2",
        "0x0000000000000042"
      ],
      "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
      "logsBloom": "0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09",
      "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
      "stateRoot": "0xd5855eb08b3387c0af375e9cdb6acfc05eb8f519e419b874b6ff2ffda7ed1dff",
      "__truncated": true
    }
  }
  ```
</ResponseExample>
