{"uid":"cap_yIiuvMPpPN91aPFik2XDC","slug":"evm-block-transaction-count-b71eb7fb","name":"EVM Block Transaction Count","description":"How many transactions are in a block — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/evm-block-tx-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"block":{"type":"string"},"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism","bsc","avalanche","gnosis","linea","scroll"],"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"evm-block-tx-count","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZQ8-BmMz-Ap0mfI5f2lK1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the number of transactions contained in a specified block on a given EVM-compatible chain","exampleAgentPrompt":"How many transactions were included in block 21000000 on Ethereum?","exampleUseCases":[{"title":"Analyze block congestion on Ethereum","prompt":"Can you check how many transactions were packed into Ethereum block 19500000? I want to understand how congested the network was at that point."},{"title":"Monitor Base block activity","prompt":"Tell me the transaction count for the latest block on Base — I'm tracking how busy the network is right now."},{"title":"Compare block fullness across chains","prompt":"Look up how many transactions are in block 5000000 on Polygon — I'm comparing throughput across different EVM chains."}],"resultDescription":"Returns a JSON object with ok:true, a type field set to 'evm-block-tx-count', a payment receipt (tx_hash, amount_usd, receipt_id), and a generated_at ISO 8601 timestamp. The transaction count for the specified block on the specified chain is included in the response payload.","failureModes":["Invalid block identifier (non-existent or malformed block number/hash) returns an error","Unsupported chain value outside the allowed enum returns a validation error","Network or RPC node unavailability for the requested chain may cause a timeout or error","Payment failure via x402 protocol prevents the call from completing","Missing required 'chain' or 'block' parameters returns a schema validation error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, single-number lookup of how many transactions are in a specific EVM block across 10 supported chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, Scroll). It is more efficient than fetching full block data when only the transaction count is needed. Prefer it for analytics, monitoring, or comparison tasks where you need transaction volume per block without full transaction details.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:40.970Z","isFirstParty":false,"canonicalSlug":"evm-block-transaction-count-b71eb7fb"}