> ## 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_getUncleCountByBlockNumber | Tempo

> Tempo API method that returns the number of uncles in a block by block number. Tempo uses Simplex Consensus and does not produce uncle blocks.

Tempo API method that returns the number of uncles in a block by block number. Tempo uses Simplex Consensus and does not produce uncle blocks, so this always returns `0x0`.

## Parameters

* `blockParameter` — the block number (hex) or tag (`latest`, `earliest`, `pending`)

## Response

* `result` — the number of uncles in the block, encoded as hexadecimal. On Tempo, this always returns `0x0` since Tempo uses Simplex Consensus and has no uncle blocks.

## `eth_getUncleCountByBlockNumber` code examples

<CodeGroup>
  ```bash cURL theme={"system"}
  curl -X POST "CHAINSTACK_NODE_URL" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": ["latest"], "id": 1}'
  ```
</CodeGroup>


## OpenAPI

````yaml openapi/tempo_node_api/blocks_info/eth_getUncleCountByBlockNumber.json POST /
openapi: 3.0.0
info:
  title: eth_getUncleCountByBlockNumber Tempo example
  version: 1.0.0
  description: This is an API example for eth_getUncleCountByBlockNumber for Tempo.
servers:
  - url: https://tempo-mainnet.core.chainstack.com/c3ce2925b51f1ed18719fe8a23bbdccf
security: []
paths:
  /:
    post:
      tags:
        - Blocks info
      summary: eth_getUncleCountByBlockNumber
      operationId: tempo-eth-getUncleCountByBlockNumber
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getUncleCountByBlockNumber
                params:
                  type: array
                  items: {}
                  default:
                    - latest
                  description: Method parameters
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    description: Method result

````