We're now supporting Polygon zkEVM!
Learn more here.


eth_getUncleCountByBlockNumber RPC Method

The API credit value for this method is 1 . To learn more about API credits and each method's value, visit the API Credits page.


  1. blockNumber - string - The integer of a block number encoded in hexadecimal format starting with 0x


  1. uncles - The integer value of the number of uncles in the block encoded as hexadecimal

Code Examples:

import requests
import json

url = "http://sample-endpoint-name.network.quiknode.pro/token-goes-here/"

payload = json.dumps({
  "method": "eth_getUncleCountByBlockNumber",
  "params": [
  "id": 1,
  "jsonrpc": "2.0"
headers = {
  'Content-Type': 'application/json'

response = requests.request("POST", url, headers=headers, data=payload)

Ready to get started? Create a free account