POST
curl --request POST \
  --url https://rpc.quai.network/cyprus1/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "quai_getUncleByBlockNumberAndIndex",
  "params": [
    "0x15d",
    "0x1"
  ],
  "id": 1
}'
{
  "jsonrpc": "2.0",
  "result": {
    "difficulty": "0x4830bb629",
    "headerHash": "0x668637e998e3d18e5f529c3dbfe084f57a4ca853812aa136e57153d5d81287ac",
    "location": "0x0000",
    "lock": "0x1",
    "mixHash": "0x81c2449a5024c5ba098610f4de40390f87a36df9d92fd5568ef69291aa7b02dc",
    "nonce": "0x36d54000031850e1",
    "number": "0x2ed",
    "parentHash": "0xfeee321190b340d980aa0c6a6216a396c9d0b387c69dd5e1385c3293b61b3386",
    "primaryCoinbase": "0x0003e45Aa16163f2663015B6695894D918866D19",
    "primeTerminusNumber": "0xa5",
    "timestamp": "0x66fd8a4d",
    "txHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
  },
  "id": 1
}

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
enum<string>
required

The name of the method to be invoked.

Available options:
quai_getUncleByBlockNumberAndIndex
params
string[]
required

The block number and uncle index.

id
integer
required

A unique identifier for the request.

Response

200 - application/json
Successful response
jsonrpc
string
result
object

The uncle data for the corresponding block number and index.

id
integer