POST
curl --request POST \
  --url https://rpc.quai.network/cyprus1/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "quai_getUncleByBlockHashAndIndex",
  "params": [
    "0x000000ceb1b398df1e8026b2a426b411f6cc9041f2f4356211a3c723a2f797d2",
    "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
Example:

"2.0"

method
enum<string>
required

The name of the method to be invoked.

Available options:
quai_getUncleByBlockHashAndIndex
Example:

"quai_getUncleByBlockHashAndIndex"

params
string[]
required

The block hash and uncle index.

Example:
[
  "0x000000ceb1b398df1e8026b2a426b411f6cc9041f2f4356211a3c723a2f797d2",
  "0x1"
]
id
integer
required

A unique identifier for the request.

Example:

1

Response

200 - application/json
Successful response
jsonrpc
string
Example:

"2.0"

result
object

The uncle data for the corresponding block number and index.

Example:
{
  "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
integer
Example:

1