Skip to main content

Parameters

chainId
string
default:"88888"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"eth_getUncleByBlockHashAndIndex"
required
JSON-RPC method name.
params
object
required
Parameters for eth_getUncleByBlockHashAndIndex: [blockHash, index].Positional parameters for eth_getUncleByBlockHashAndIndex:
  • params[0]: 32 Bytes - hash of the block where this transaction was included. Null when pending.
  • params[1]: Integer of the uncle’s index position.

Returns

result
oneOf
Ethereum block object. Null when no block was found.