eth
eth_getUncleCountByBlockHash
Returns the number of uncles in a block identified by block hash.
Returns the number of uncles in a block identified by block hash.
Parameters
| # | Type | Description |
|---|---|---|
| 1 | string | Block hash (32-byte hex). |
Returns
| Type | Description |
|---|---|
string | Uncle count (hex). |
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockHash",
"params": ["0x9ce9d9c533b1e3d23f5a67f999fd0848f23d3837c12ca0296f134bcfe2074008"],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}
TRY IT
Notes
- Complement to
eth_getUncleCountByBlockNumber— same data, different lookup key. - PulseChain uses proof-of-stake, so uncle count is always
0x0for post-merge blocks.
eth_getBlockTransactionCountByHash
Returns the number of transactions in a block identified by block hash.
eth_gasPrice
Returns the current gas price in wei. This value is determined by the node based on recent block gas prices and represents a suggested gas price for legacy (non-EIP-1559) transactions.
