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

# eth_getUncleByBlockHashAndIndex | Arc

> Arc API method that returns information about an uncle by block hash and uncle index position. Use it on Arc via Chainstack.

Arc API method that returns information about an uncle by block hash and uncle index position.

## Parameters

* `data` — the hash of the block
* `quantity` — the uncle index position

## Response

* `object` — a block object, or `null` when no uncle was found

## `eth_getUncleByBlockHashAndIndex` code examples

<CodeGroup>
  ```javascript ethers.js theme={"system"}
  const { JsonRpcProvider } = require("ethers");

  const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");

  async function call() {
    const result = await provider.send("eth_getUncleByBlockHashAndIndex", ["0x6dabcf7ed4cf53e05054a4d671b19b7597740bce1042019ff31af68dde9c98a9", "0x0"]);
    console.log(result);
  }

  call();
  ```

  ```python web3.py theme={"system"}
  from web3 import Web3

  node_url = "CHAINSTACK_NODE_URL"
  web3 = Web3(Web3.HTTPProvider(node_url))

  # Make the call
  # Add your parameters here
  # result = web3.eth.<method_name>(...)
  print(result)
  ```

  ```shell cURL theme={"system"}
  curl -X POST "CHAINSTACK_NODE_URL" \
    -H "Content-Type: application/json" \
    --data '{
      "jsonrpc": "2.0",
      "method": "eth_getUncleByBlockHashAndIndex",
      "params": ["0x6dabcf7ed4cf53e05054a4d671b19b7597740bce1042019ff31af68dde9c98a9", "0x0"],
      "id": 1
    }'
  ```
</CodeGroup>


## OpenAPI

````yaml openapi/arc_node_api/blocks_info/eth_getUncleByBlockHashAndIndex.json POST /
openapi: 3.0.0
info:
  title: Chainstack Node API
  version: 1.0.0
  description: This is an API for interacting with a Chainstack node.
servers:
  - url: https://arc-testnet.core.chainstack.com/6caa7fd90475ac9214f7521dd460fa7c
security: []
paths:
  /:
    post:
      tags:
        - upload
      summary: eth_getUncleByBlockHashAndIndex
      operationId: eth_getUncleByBlockHashAndIndex
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getUncleByBlockHashAndIndex
                params:
                  type: array
                  default:
                    - >-
                      0x6dabcf7ed4cf53e05054a4d671b19b7597740bce1042019ff31af68dde9c98a9
                    - '0x0'
                  items:
                    anyOf:
                      - type: string
                        title: Block hash
                        description: Hash of the block.
                      - type: string
                        title: Uncle index
                        description: The uncle index position.
      responses:
        '200':
          description: Returns the result of eth_getUncleByBlockHashAndIndex.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    nullable: true
              example:
                jsonrpc: '2.0'
                id: 1
                result: null

````