{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "api-dirtroad-dev-tools-web3-evm-eth-get-block-transaction-count-by-number",
  "title": "Dirt Road \u00b7 EVM Block Transaction Count",
  "url": "https://api.dirtroad.dev/tools/web3/evm/eth-get-block-transaction-count-by-number",
  "category": "data",
  "summary": "Query the number of transactions in a specific EVM block to analyze network activity and transaction density.",
  "seo": {
    "title": "EVM Block Transaction Count API | x402 Pay-Per-Call",
    "description": "Get transaction count for any EVM block by number. Returns hex string for block activity analysis. 0.0001 USDC per call via x402 on Base."
  },
  "use_cases": [
    "Measure block congestion during high-activity periods",
    "Compare transaction density across different time periods",
    "Calculate average transactions per block for chain metrics",
    "Identify empty or unusually full blocks"
  ],
  "ideal_buyer": "Blockchain analysts and infrastructure monitoring agents tracking EVM network health and usage patterns.",
  "example_prompt": "How many transactions were in Ethereum block 18000000?",
  "example_request_body": {
    "chain": "eip155:1",
    "blockTag": "0x112A880"
  },
  "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 transactions in a block specified by block number. Returns the transaction count as a hex string. Useful for analyzing block activity and transaction density across different blocks.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "chain": {},
            "blockTag": {}
          }
        },
        "output": {
          "type": "object",
          "required": [
            "chain",
            "blockTag",
            "transactionCount"
          ],
          "properties": {
            "chain": {
              "type": "string",
              "description": "CAIP-12 chain identifier"
            },
            "blockTag": {
              "type": "string",
              "description": "Block tag queried"
            },
            "transactionCount": {
              "type": "string",
              "description": "Number of transactions in the block as hex string"
            }
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "data-cl-28a5dbb63803",
  "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-block-transaction-count-by-number",
    "url": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-block-transaction-count-by-number",
    "name": "Dirt Road \u00b7 EVM Block Transaction Count",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/api-dirtroad-dev-tools-web3-evm-eth-get-block-transaction-count-by-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-block-transaction-count-by-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-block-transaction-count-by-number",
    "description": "Get transaction count for any EVM block by number. Returns hex string for block activity analysis. 0.0001 USDC per call via x402 on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=api-dirtroad-dev-tools-web3-evm-eth-get-block-transaction-count-by-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-block-transaction-count-by-number"
}
