eth_getUncleCountByBlockNumber
Retrieves number of uncles by block number. Always returns "0x0
", regardless of the arguments.
Example Request
curl -d '{
"id": "1",
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockNumber",
"params": [ "0x4"
]}' -H "Content-Type: application/json" -X POST "https://api.zq2-prototestnet.zilliqa.com/"
Example response
{"jsonrpc":"2.0","result":"0x0","id":"1"}
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
id |
string | Required | "1" |
jsonrpc |
string | Required | "2.0" |
method |
string | Required | "eth_getUncleCountByBlockNumber" |
params |
array | Requred | can be anything |