Parameters
Returns
- resultobject
An object describing the node's current head and the data resources it can serve
- headobject
The current canonical head reported by the node
- numberstring
The head block number in hexadecimal format
- hashstring
The head block hash
- stateobject
Availability of historical state (used by state-reading methods such as eth_getBalance, eth_getCode, and eth_getStorageAt)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- txobject
Availability of the transaction lookup index (used by methods such as eth_getTransactionByHash and eth_getTransactionReceipt)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- logsobject
Availability of the log search index (used by eth_getLogs)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- receiptsobject
Availability of historical receipts (used by methods such as eth_getBlockReceipts and eth_getTransactionReceipt)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- blocksobject
Availability of historical blocks (used by methods such as eth_getBlockByNumber and eth_getBlockByHash)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
- stateproofsobject
Availability of historical state proofs (used by eth_getProof)
- disabledboolean
Whether the resource is disabled entirely
- oldestBlockstring
The oldest block for which the resource is available, in hexadecimal format
- deleteStrategyobject
Describes how data is removed over time. Present only for resources with sliding-window retention
- typestring
The deletion strategy type, e.g. window
- retentionBlocksstring
The number of most recent blocks retained, in hexadecimal format
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"head": {6"number": "0x1850b9b",7"hash": "0xd8b72f903567c6c25c6d0c690db7a320d61a4987f9c7a2a435061e5439e2817c"8},9"state": {10"disabled": false,11"oldestBlock": "0x0"12},13"tx": {14"disabled": false,15"oldestBlock": "0x0"16},17"logs": {18"disabled": false,19"oldestBlock": "0x0"20},21"receipts": {22"disabled": false,23"oldestBlock": "0x0"24},25"blocks": {26"disabled": false,27"oldestBlock": "0x0"28},29"stateproofs": {30"disabled": false,31"oldestBlock": "0x0"32}33}34}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"head": {6"number": "0x1850b9b",7"hash": "0xd8b72f903567c6c25c6d0c690db7a320d61a4987f9c7a2a435061e5439e2817c"8},9"state": {10"disabled": false,11"oldestBlock": "0x0"12},13"tx": {14"disabled": false,15"oldestBlock": "0x0"16},17"logs": {18"disabled": false,19"oldestBlock": "0x0"20},21"receipts": {22"disabled": false,23"oldestBlock": "0x0"24},25"blocks": {26"disabled": false,27"oldestBlock": "0x0"28},29"stateproofs": {30"disabled": false,31"oldestBlock": "0x0"32}33}34}