http://api.dirtroad.dev/tools/web3/evm/eth-get-uncle-count-by-block-hash
by dirtroad.dev
Get the number of uncle blocks for a block specified by block hash. 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.
developerbase-mainnetscheme: exact$0.0001
Payment Options
| Network | Price | Scheme | Pay To |
|---|---|---|---|
| base | 100 | exact | 0x71dc0Bc68e7f0e2c5aaCE661b0F3Fb995a80AAF4 |
Usage
cURL
curl -X GET "http://api.dirtroad.dev/tools/web3/evm/eth-get-uncle-count-by-block-hash" \
-H "X-402-Payment: <payment_proof>"JavaScript
const response = await fetch("http://api.dirtroad.dev/tools/web3/evm/eth-get-uncle-count-by-block-hash", {
headers: {
"X-402-Payment": paymentProof,
},
});
const data = await response.json();Details
- Type
- http
- x402 Version
- 1
- MIME Type
- application/json
- Last Seen
- 2/12/2026
- Indexed
- 2/12/2026
Facilitator
PayAI
https://facilitator.payai.network