{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-dirtroad-dev-tools-web3-evm-eth-get-uncle-count-by-block-number",
  "title": "Dirt Road \u00b7 Get EVM Uncle Block Count",
  "url": "https://api.dirtroad.dev/tools/web3/evm/eth-get-uncle-count-by-block-number",
  "category": "data",
  "summary": "Retrieve the number of uncle blocks for a specified block number on EVM-compatible chains.",
  "seo": {
    "title": "EVM Uncle Block Count API | Ethereum-Compatible Chains | x402",
    "description": "Query uncle block count by block number for EVM chains. x402 micropayment API on Base. Returns hex uncle count; always 0x0 for SKALE chains."
  },
  "use_cases": [
    "Query uncle block counts for Ethereum compatibility checks",
    "Verify chain behavior for tools expecting uncle data",
    "Confirm SKALE chain responses for uncle queries"
  ],
  "ideal_buyer": "Blockchain data tools and AI agents that need Ethereum-compatible uncle block queries for cross-chain compatibility or verification.",
  "example_prompt": "Get the uncle block count for block number 18000000 on this EVM chain.",
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0.005,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x71dc0bc68e7f0e2c5aace661b0f3fb995a80aaf4",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Get the number of uncle blocks for a block specified by block number. Returns the uncle count as a hex string. SKALE chains don't have uncles, so this always returns 0x0. Useful for compatibility with Ethereum tools that expect this method.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "chain": {},
            "blockTag": {}
          }
        },
        "output": {
          "type": "object",
          "required": [
            "chain",
            "blockTag",
            "uncleCount"
          ],
          "properties": {
            "chain": {
              "type": "string",
              "description": "CAIP-12 chain identifier"
            },
            "blockTag": {
              "type": "string",
              "description": "Block tag queried"
            },
            "uncleCount": {
              "type": "string",
              "description": "Number of uncle blocks (always 0x0 for SKALE)"
            }
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "data-cl-dd109b9ed784",
  "origin": {
    "slug": "api-dirtroad-dev",
    "host": "api.dirtroad.dev",
    "url": "https://api.dirtroad.dev",
    "favicon": "https://dirtroad.dev/mintlify-assets/_mintlify/favicons/dirtroaddev/hL1CxJhINP8GaPGW/_generated/favicon/favicon.ico"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-uncle-count-by-block-number",
    "url": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-uncle-count-by-block-number",
    "name": "Dirt Road \u00b7 Get EVM Uncle Block Count",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-uncle-count-by-block-number",
      "@type": "Offer",
      "price": "0.0001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.000100",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://api.dirtroad.dev/tools/web3/evm/eth-get-uncle-count-by-block-number",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/api-dirtroad-dev",
      "url": "https://api.dirtroad.dev",
      "name": "api.dirtroad.dev",
      "@type": "Organization"
    },
    "identifier": "api-dirtroad-dev-tools-web3-evm-eth-get-uncle-count-by-block-number",
    "description": "Query uncle block count by block number for EVM chains. x402 micropayment API on Base. Returns hex uncle count; always 0x0 for SKALE chains.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-dirtroad-dev-tools-web3-evm-eth-get-uncle-count-by-block-number",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "data"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=api-dirtroad-dev-tools-web3-evm-eth-get-uncle-count-by-block-number"
}
