EVM RPC API
eth_getUncleCountByBlockNumber
Returns the number of uncles in the block, if any.
Parameters
TAG
- Integer block number or one of “earliest”, “latest” or “pending”
Returns
QUANTITY
- The number of uncles in the block, if any
POST
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
api-key
string
requiredBody
application/json
id
integer
default: 1requiredjsonrpc
string
default: 2.0requiredmethod
string
default: eth_getUncleCountByBlockNumberrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
string
required