eth_getUncleByBlockHashAndIndex
Returns information about a uncle of a block by hash and uncle index position.
- CURL
curl --request POST \
     --url https://evm.confluxrpc.com \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "params": [null,null],
  "method": "eth_getUncleByBlockHashAndIndex"
}'
Params
blockhash required
Schema
type : string
Pattern : 
^0x[0-9,a-f,A-F]{64}$index required
Schema
type : number
Result
Block representation
type : object
- author authortype : stringPattern :- ^0x[0-9,a-f,A-F]{40}$
- baseFeePerGas baseFeePerGastype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- difficulty difficultytype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- extraData extraDatatype : stringPattern :- ^0x[0-9a-f]*$
- gasLimit gasLimittype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- gasUsed gasUsedtype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- hash hashtype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- logsBloom logsBloomtype : stringPattern :- ^0x[0-9,a-f,A-F]{512}$
- miner minertype : stringPattern :- ^0x[0-9,a-f,A-F]{40}$
- mixHash mixHashtype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- nonce noncetype : stringPattern :- ^0x[0-9,a-f,A-F]{16}$
- number numbertype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- parentHash parentHashtype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- receiptsRoot receiptsRoottype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- sha3uncle sha3uncletype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- size sizetype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- stateRoot stateRoottype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- timestamp timestamptype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- totalDifficulty totalDifficultytype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- transactions transactionsoneOf- (H256,...)[]
- (Transaction,...)[]
 type : array- items[x]H256type : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
 type : array- items[x]Transactiontype : object- accessList accessListtype : array- items[x]AccessListItemtype : object- address addresstype : stringPattern :- ^(NET\d+|CFX|CFXTEST)(:TYPE\..*|):[ABCDEFGHJKMNPRSTUVWXYZ0123456789]{42}$
- storageKeys storageKeystype : array- items[x]H256type : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
 
 
 
- blockHash blockHashtype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- blockNumber blockNumbertype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- chainId chainIdtype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,15}|0)$
- creates createstype : stringPattern :- ^0x[0-9,a-f,A-F]{40}$
- from fromtype : stringPattern :- ^0x[0-9,a-f,A-F]{40}$
- gas gastype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- gasPrice gasPricetype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- hash hashtype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- input inputtype : stringPattern :- ^0x[0-9a-f]*$
- maxFeePerGas maxFeePerGastype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- maxPriorityFeePerGas maxPriorityFeePerGastype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- nonce noncetype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- publicKey publicKeytype : stringPattern :- ^0x[0-9,a-f,A-F]{128}$
- r rtype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- raw rawtype : stringPattern :- ^0x[0-9a-f]*$
- s stype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- standardV standardVtype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- status statustype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,15}|0)$
- to totype : stringPattern :- ^0x[0-9,a-f,A-F]{40}$
- transactionIndex transactionIndextype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- transactionType transactionTypetype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,15}|0)$
- v vtype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- value valuetype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,63}|0)$
- yParity yParitytype : stringPattern :- ^0x([1-9a-f][0-9a-f]{0,15}|0)$
 
 
- transactionsRoot transactionsRoottype : stringPattern :- ^0x[0-9,a-f,A-F]{64}$
- uncles unclestype : array- items[x]H256type : stringPattern :- ^0x[0-9,a-f,A-F]{64}$