Get the number of uncle blocks by block number
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the number of uncle blocks for the selected block number; normally zero on Linea.
Body
application/json
JSON-RPC request envelope.
jsonrpcstring2.0requiredJSON-RPC protocol version.
methodstringeth_getUncleCountByBlockNumberrequiredJSON-RPC method name.
paramsArray<string>requiredAn array containing the block number as a hex string.
idintegerrequiredIdentifier echoed in the response.
Response
200OK
Number of uncle blocks in the block