Register and show off your project at Ethereum QuickPitch and win $10,000. Apply now


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. Number - Integer of a block number in hexadecimal format starting with 0x.


  1. Uncles - Integer value of the number of uncles in the block encoded as a hexadecimal.

Code Examples:

curl \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_getUncleCountByBlockNumber","params":["0xc5043f"],"id":1,"jsonrpc":"2.0"}'
Ready to get started? Create a free account